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