Setting - property in ROOT\MicrosoftIISv2 namespace

Setting in other namespaces

List of classes with Setting local property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
SettingCIM_ElementSettingCIM_ElementSetting

List of classes with Setting derived property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
SettingIIsApplicationPool_IIsApplicationPoolSettingCIM_ElementSetting
SettingIIsApplicationPools_IIsApplicationPoolsSettingCIM_ElementSetting
SettingIIsCertMapper_IIsCertMapperSettingCIM_ElementSetting
SettingIIsCompressionScheme_IIsCompressionSchemeSettingCIM_ElementSetting
SettingIIsCompressionSchemes_IIsCompressionSchemesSettingCIM_ElementSetting
SettingIIsComputer_IIsComputerSettingCIM_ElementSetting
SettingIIsCustomLogModule_IIsCustomLogModuleSettingCIM_ElementSetting
SettingIIsFilter_IIsFilterSettingCIM_ElementSetting
SettingIIsFilters_IIsFiltersSettingCIM_ElementSetting
SettingIIsFtpInfo_IIsFtpInfoSettingCIM_ElementSetting
SettingIIsFtpServer_IIsFtpServerSettingCIM_ElementSetting
SettingIIsFtpServer_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsFtpService_IIsFtpServiceSettingCIM_ElementSetting
SettingIIsFtpService_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsFtpVirtualDir_IIsFtpVirtualDirSettingCIM_ElementSetting
SettingIIsFtpVirtualDir_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsImapInfo_IIsImapInfoSettingCIM_ElementSetting
SettingIIsImapRoutingSource_IIsImapRoutingSourceSettingCIM_ElementSetting
SettingIIsImapServer_IIsImapServerSettingCIM_ElementSetting
SettingIIsImapServer_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsImapService_IIsImapServiceSettingCIM_ElementSetting
SettingIIsImapService_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsImapSessions_IIsImapSessionsSettingCIM_ElementSetting
SettingIIsImapVirtualDir_IIsImapVirtualDirSettingCIM_ElementSetting
SettingIIsLogModule_IIsLogModuleSettingCIM_ElementSetting
SettingIIsLogModules_IIsLogModulesSettingCIM_ElementSetting
SettingIIsMimeMap_IIsMimeMapSettingCIM_ElementSetting
SettingIIsNntpExpiration_IIsNntpExpirationSettingCIM_ElementSetting
SettingIIsNntpExpire_IIsNntpExpireSettingCIM_ElementSetting
SettingIIsNntpFeed_IIsNntpFeedSettingCIM_ElementSetting
SettingIIsNntpFeeds_IIsNntpFeedsSettingCIM_ElementSetting
SettingIIsNntpGroups_IIsNntpGroupsSettingCIM_ElementSetting
SettingIIsNntpInfo_IIsNntpInfoSettingCIM_ElementSetting
SettingIIsNntpRebuild_IIsNntpRebuildSettingCIM_ElementSetting
SettingIIsNntpServer_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsNntpServer_IIsNntpServerSettingCIM_ElementSetting
SettingIIsNntpService_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsNntpService_IIsNntpServiceSettingCIM_ElementSetting
SettingIIsNntpSessions_IIsNntpSessionsSettingCIM_ElementSetting
SettingIIsNntpVirtualDir_IIsNntpVirtualDirSettingCIM_ElementSetting
SettingIIsObject_IIsObjectSettingCIM_ElementSetting
SettingIIsPop3Info_IIsPop3InfoSettingCIM_ElementSetting
SettingIIsPop3RoutingSource_IIsPop3RoutingSourceSettingCIM_ElementSetting
SettingIIsPop3Server_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsPop3Server_IIsPop3ServerSettingCIM_ElementSetting
SettingIIsPop3Service_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsPop3Service_IIsPop3ServiceSettingCIM_ElementSetting
SettingIIsPop3Sessions_IIsPop3SessionsSettingCIM_ElementSetting
SettingIIsPop3VirtualDir_IIsPop3VirtualDirSettingCIM_ElementSetting
SettingIIsSmtpAlias_IIsSmtpAliasSettingCIM_ElementSetting
SettingIIsSmtpDL_IIsSmtpDLSettingCIM_ElementSetting
SettingIIsSmtpDomain_IIsSmtpDomainSettingCIM_ElementSetting
SettingIIsSmtpInfo_IIsSmtpInfoSettingCIM_ElementSetting
SettingIIsSmtpRoutingSource_IIsSmtpRoutingSourceSettingCIM_ElementSetting
SettingIIsSmtpServer_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsSmtpServer_IIsSmtpServerSettingCIM_ElementSetting
SettingIIsSmtpService_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsSmtpService_IIsSmtpServiceSettingCIM_ElementSetting
SettingIIsSmtpSessions_IIsSmtpSessionsSettingCIM_ElementSetting
SettingIIsSmtpUser_IIsSmtpUserSettingCIM_ElementSetting
SettingIIsSmtpVirtualDir_IIsSmtpVirtualDirSettingCIM_ElementSetting
SettingIIsUserDefinedElementSettingCIM_ElementSetting
SettingIIsWebDirectory_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsWebDirectory_IIsWebDirectorySettingCIM_ElementSetting
SettingIIsWebFile_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsWebFile_IIsWebFileSettingCIM_ElementSetting
SettingIIsWebInfo_IIsWebInfoSettingCIM_ElementSetting
SettingIIsWebServer_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsWebServer_IIsWebServerSettingCIM_ElementSetting
SettingIIsWebService_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsWebService_IIsWebServiceSettingCIM_ElementSetting
SettingIIsWebVirtualDir_IIsIPSecuritySettingCIM_ElementSetting
SettingIIsWebVirtualDir_IIsWebVirtualDirSettingCIM_ElementSetting

Code samples for Setting property

Get instance of WMI class using GetObject, Setting property of IIsObject_IIsObjectSetting

Short VBS code - get a single specified instance of IIsObject_IIsObjectSetting 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\MicrosoftIISv2:" + _
 "IIsObject_IIsObjectSetting.Element=""IIsObject.Name=\""EventManager\"""",Setting=""IIsObjectSetting.Name=\""EventManager\""""")
Wscript.Echo wmiObject.Setting 'or other property name, see properties
See more VBS samples of IIsObject_IIsObjectSetting class

WMI query - sample windows WQL with C#, Setting property of IIsObject_IIsObjectSetting

Get a specified instance of IIsObject_IIsObjectSetting 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\\MicrosoftIISv2");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM IIsObject_IIsObjectSetting Where Element=\"IIsObject.Name=\\\"EventManager\\\"\"Setting=\"IIsObjectSetting.Name=\\\"EventManager\\\"\"");

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

WMI query - sample windows WQL with VB.Net, Setting property of IIsObject_IIsObjectSetting

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

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM IIsObject_IIsObjectSetting Where Element="IIsObject.Name=\"EventManager\""Setting="IIsObjectSetting.Name=\"EventManager\""")

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