SettingID - property in ROOT\CIMV2 namespace

SettingID in other namespaces

List of classes with SettingID local property in ROOT\CIMV2 namespace

propertyClassOrigin
SettingIDCIM_SettingCIM_Setting

List of classes with SettingID derived property in ROOT\CIMV2 namespace

propertyClassOrigin
SettingIDCIM_MonitorResolutionCIM_Setting
SettingIDCIM_VideoControllerResolutionCIM_Setting
SettingIDScriptingStandardConsumerSettingCIM_Setting
SettingIDWin32_AutochkSettingCIM_Setting
SettingIDWin32_BinaryCIM_Setting
SettingIDWin32_BootConfigurationCIM_Setting
SettingIDWin32_ClassicCOMClassSettingCIM_Setting
SettingIDWin32_COMSettingCIM_Setting
SettingIDWin32_DCOMApplicationSettingCIM_Setting
SettingIDWin32_DesktopCIM_Setting
SettingIDWin32_DisplayConfigurationCIM_Setting
SettingIDWin32_DisplayControllerConfigurationCIM_Setting
SettingIDWin32_LogicalFileSecuritySettingCIM_Setting
SettingIDWin32_LogicalShareSecuritySettingCIM_Setting
SettingIDWin32_MSIResourceCIM_Setting
SettingIDWin32_NamedJobObjectLimitSettingCIM_Setting
SettingIDWin32_NamedJobObjectSecLimitSettingCIM_Setting
SettingIDWin32_NetworkAdapterConfigurationCIM_Setting
SettingIDWin32_NetworkLoginProfileCIM_Setting
SettingIDWin32_ODBCAttributeCIM_Setting
SettingIDWin32_ODBCSourceAttributeCIM_Setting
SettingIDWin32_OSRecoveryConfigurationCIM_Setting
SettingIDWin32_PageFileSettingCIM_Setting
SettingIDWin32_PatchCIM_Setting
SettingIDWin32_PatchPackageCIM_Setting
SettingIDWin32_PrinterConfigurationCIM_Setting
SettingIDWin32_PropertyCIM_Setting
SettingIDWin32_QuotaSettingCIM_Setting
SettingIDWin32_SecuritySettingCIM_Setting
SettingIDWin32_SerialPortConfigurationCIM_Setting
SettingIDWin32_ServiceControlCIM_Setting
SettingIDWin32_ShadowContextCIM_Setting
SettingIDWin32_StartupCommandCIM_Setting
SettingIDWin32_TimeZoneCIM_Setting
SettingIDWin32_VideoConfigurationCIM_Setting
SettingIDWin32_WMISettingCIM_Setting

Code samples for SettingID property

Get instance of WMI class using GetObject, SettingID property of Win32_LogicalFileSecuritySetting

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

'http://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\cimv2:" + _
 "Win32_LogicalFileSecuritySetting.Path=""Value""")
Wscript.Echo wmiObject.SettingID 'or other property name, see properties
See more VBS samples of Win32_LogicalFileSecuritySetting class

WMI query - sample windows WQL with C#, SettingID property of Win32_LogicalFileSecuritySetting

Get a specified instance of Win32_LogicalFileSecuritySetting 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.
//http://wutils.com/wmi/

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

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

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM Win32_LogicalFileSecuritySetting");

//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("SettingID : {0}", m["SettingID"]);
  
}

WMI query - sample windows WQL with VB.Net, SettingID property of Win32_LogicalFileSecuritySetting

Get a specified instance of Win32_LogicalFileSecuritySetting 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\cimv2")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM Win32_LogicalFileSecuritySetting")

'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("SettingID : {0}", mObject("SettingID"))
Next
comments powered by Disqus
online utility - toplist
WUtils.com