Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Adds additional data required to process the request. For example, some WMI providers may require an IWbemContext or SWbemNamedValueSet object with provider-specific information. You can provide a ResourceLocator object instead of specifying a resource URI in Session object operations such as Session.Get, Session.Put, or Session.Enumerate.
ResourceLocator.AddOption( _
ByVal OptionName, _
ByVal OptionValue, _
ByVal mustComply _
)
OptionName [in]
The name (key) of the optional data object.
OptionValue [in]
A value supplied for the optional data object.
mustComply [in]
A flag that indicates the option must be processed. The default is False (0).
This method does not return a value.
IWSManResourceLocator::AddOption is the corresponding C++ method.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
Library |
|
DLL |
|
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now