page_id - property in ROOT\WMI namespace

page_id in other namespaces

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

propertyClassOrigin
page_idallocation_ring_buffer_recordedallocation_ring_buffer_recorded
page_idbad_memory_fixedbad_memory_fixed
page_idconstant_page_corruption_detectedconstant_page_corruption_detected
page_iddatabase_suspect_data_pagedatabase_suspect_data_page
page_idghost_cleanupghost_cleanup
page_idghost_cleanup_task_packet_enqueueghost_cleanup_task_packet_enqueue
page_idghost_cleanup_task_process_packetghost_cleanup_task_process_packet
page_idhadr_db_manager_page_requesthadr_db_manager_page_request
page_idhobt_schema_mgr_hobt_pagehobt_schema_mgr_hobt_page
page_idlatch_acquire_timelatch_acquire_time
page_idlatch_acquiredlatch_acquired
page_idlatch_demotedlatch_demoted
page_idlatch_promotedlatch_promoted
page_idlatch_releasedlatch_released
page_idlatch_suspend_beginlatch_suspend_begin
page_idlatch_suspend_endlatch_suspend_end
page_idlatch_suspend_warninglatch_suspend_warning
page_idleaf_page_disfavoredleaf_page_disfavored
page_idmixed_page_allocationmixed_page_allocation
page_idmixed_page_deallocationmixed_page_deallocation
page_idmixed_page_skipextentmixed_page_skipextent
page_idpage_compression_attempt_failedpage_compression_attempt_failed
page_idpage_compression_tracingpage_compression_tracing
page_idpage_reference_trackerpage_reference_tracker
page_idpage_splitpage_split
page_idphysical_page_readphysical_page_read
page_idphysical_page_writephysical_page_write
page_idrecovery_catch_checkpointrecovery_catch_checkpoint
page_idrecovery_force_oldest_pagerecovery_force_oldest_page
page_idrecovery_simple_log_truncaterecovery_simple_log_truncate

Code samples for page_id property

Get instance of WMI class using GetObject, page_id property of latch_suspend_warning

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

WMI query - sample windows WQL with C#, page_id property of latch_suspend_warning

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

WMI query - sample windows WQL with VB.Net, page_id property of latch_suspend_warning

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