index_id - property in ROOT\WMI namespace

index_id in other namespaces

List of classes with index_id local property in ROOT\WMI namespace

propertyClassOrigin
index_idauto_statsauto_stats
index_idbackground_job_errorbackground_job_error
index_idblocked_process_reportblocked_process_report
index_idindex_description_unpinindex_description_unpin
index_idobject_alteredobject_altered
index_idobject_createdobject_created
index_idobject_deletedobject_deleted
index_idprogress_report_online_index_operationprogress_report_online_index_operation
index_idquery_rpc_server_collection_cache_hitquery_rpc_server_collection_cache_hit
index_idquery_rpc_server_collection_cache_hit_no_keyquery_rpc_server_collection_cache_hit_no_key
index_idquery_rpc_server_collection_cache_insertquery_rpc_server_collection_cache_insert
index_idquery_rpc_server_collection_cache_missquery_rpc_server_collection_cache_miss
index_idquery_rpc_server_collection_cache_removequery_rpc_server_collection_cache_remove
index_idquery_rpc_server_collection_createquery_rpc_server_collection_create
index_idquery_rpc_server_runtime_cache_hitquery_rpc_server_runtime_cache_hit
index_idquery_rpc_server_runtime_cache_insertquery_rpc_server_runtime_cache_insert
index_idquery_rpc_server_runtime_cache_missquery_rpc_server_runtime_cache_miss
index_idquery_rpc_server_runtime_cache_removequery_rpc_server_runtime_cache_remove
index_idquery_rpc_server_runtime_createquery_rpc_server_runtime_create
index_idscan_startedscan_started
index_idscan_stoppedscan_stopped
index_idselective_xml_index_no_compatible_sql_typeselective_xml_index_no_compatible_sql_type
index_idselective_xml_index_no_compatible_xsd_typesselective_xml_index_no_compatible_xsd_types
index_idselective_xml_index_path_not_indexedselective_xml_index_path_not_indexed
index_idselective_xml_index_path_not_supportedselective_xml_index_path_not_supported

Code samples for index_id property

Get instance of WMI class using GetObject, index_id property of query_rpc_server_runtime_cache_remove

Short VBS code - get a single specified instance of query_rpc_server_runtime_cache_remove class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\WMI:" + _
 "query_rpc_server_runtime_cache_remove.PropertyName=""SomeText""")
Wscript.Echo wmiObject.index_id 'or other property name, see properties
See more VBS samples of query_rpc_server_runtime_cache_remove class

WMI query - sample windows WQL with C#, index_id property of query_rpc_server_runtime_cache_remove

Get a specified instance of query_rpc_server_runtime_cache_remove by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\WMI");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM query_rpc_server_runtime_cache_remove Where PropertyName=\"SomeText\"");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("index_id : {0}", m["index_id"]);
  
}

WMI query - sample windows WQL with VB.Net, index_id property of query_rpc_server_runtime_cache_remove

Get a specified instance of query_rpc_server_runtime_cache_remove by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\WMI")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM query_rpc_server_runtime_cache_remove Where PropertyName="SomeText"")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("index_id : {0}", mObject("index_id"))
Next
comments powered by Disqus
WUtils.com