rowset_id - property in ROOT\WMI namespace

rowset_id in other namespaces

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

propertyClassOrigin
rowset_idcolumn_store_index_build_low_memorycolumn_store_index_build_low_memory
rowset_idcolumn_store_segment_eliminatecolumn_store_segment_eliminate
rowset_idcolumnstore_tuple_mover_begin_compresscolumnstore_tuple_mover_begin_compress
rowset_idcolumnstore_tuple_mover_end_compresscolumnstore_tuple_mover_end_compress
rowset_idfastloadcontext_enabledfastloadcontext_enabled
rowset_idlogreader_process_text_infologreader_process_text_info
rowset_idlogreader_process_text_ptrlogreader_process_text_ptr
rowset_idpage_compression_attempt_failedpage_compression_attempt_failed
rowset_idpage_compression_tracingpage_compression_tracing
rowset_idpage_splitpage_split
rowset_idsort_add_run_tracingsort_add_run_tracing
rowset_idsort_memory_grant_adjustmentsort_memory_grant_adjustment
rowset_idsort_state_change_tracingsort_state_change_tracing
rowset_idsort_statistics_tracingsort_statistics_tracing

Code samples for rowset_id property

Get instance of WMI class using GetObject, rowset_id property of sort_statistics_tracing

Short VBS code - get a single specified instance of sort_statistics_tracing 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:" + _
 "sort_statistics_tracing.PropertyName=""SomeText""")
Wscript.Echo wmiObject.rowset_id 'or other property name, see properties
See more VBS samples of sort_statistics_tracing class

WMI query - sample windows WQL with C#, rowset_id property of sort_statistics_tracing

Get a specified instance of sort_statistics_tracing 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 sort_statistics_tracing 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("rowset_id : {0}", m["rowset_id"]);
  
}

WMI query - sample windows WQL with VB.Net, rowset_id property of sort_statistics_tracing

Get a specified instance of sort_statistics_tracing 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 sort_statistics_tracing 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("rowset_id : {0}", mObject("rowset_id"))
Next
comments powered by Disqus
WUtils.com