public static long count ( nitro_service service , String groupname ) throws Exception { systemgroup_systemcmdpolicy_binding obj = new systemgroup_systemcmdpolicy_binding ( ) ; obj . set_groupname ( groupname ) ; options option = new options ( ) ; option . set_count ( true ) ; systemgroup_systemcmdpolicy_binding response [ ] = ( systemgroup_systemcmdpolicy_binding [ ] ) obj . get_resources ( service , option ) ; if ( response != null ) { return response [ 0 ] . __count ; } return 0 ; }
Use this API to count systemgroup_systemcmdpolicy_binding resources configued on NetScaler .