IWSManResourceLocator interface

Supplies the path to a resource. You can use an IWSManResourceLocator object instead of a resource URI in IWSManSession object operations such as IWSManSession.Get, IWSManSession.Put, or IWSManSession.Enumerate.

Methods

The IWSManResourceLocator interface has these methods.

Method Description
IWSManResourceLocator::AddOption Adds data required to process the request. For example, some WMI providers may require an IWbemContext or SWbemNamedValueSet object with provider-specific information.
IWSManResourceLocator::AddSelector Adds a selector to the ResourceLocator object. The selector specifies a particular instance of a resource.
IWSManResourceLocator::ClearOptions Removes any options from the ResourceLocator object.
IWSManResourceLocator::ClearSelectors Removes all the selectors from a ResourceLocator object. You can provide a ResourceLocator object instead of specifying a resource URI in IWSManSession object operations such as Get, Put, or Enumerate.
IWSManResourceLocator::get_Error Gets an XML representation of additional error information.
IWSManResourceLocator::get_FragmentDialect Gets or sets the language dialect for a resource fragment dialect when IWSManResourceLocator is used in IWSManSession object methods such as Get, Put, or Enumerate.
IWSManResourceLocator::get_FragmentPath Gets or sets the path for a resource fragment or property when ResourceLocator is used in IWSManSession object methods such as Get, Put, or Enumerate.
IWSManResourceLocator::get_MustUnderstandOptions Gets or sets the MustUnderstandOptions value for the ResourceLocator object.
IWSManResourceLocator::get_ResourceURI The resource URI of the requested resource. This property can contain only the path, not a query string for specific instances.
IWSManResourceLocator::put_FragmentDialect Gets or sets the language dialect for a resource fragment dialect when IWSManResourceLocator is used in IWSManSession object methods such as Get, Put, or Enumerate.
IWSManResourceLocator::put_FragmentPath Gets or sets the path for a resource fragment or property when ResourceLocator is used in IWSManSession object methods such as Get, Put, or Enumerate.
IWSManResourceLocator::put_MustUnderstandOptions Gets or sets the MustUnderstandOptions value for the ResourceLocator object.
IWSManResourceLocator::put_ResourceURI The resource URI of the requested resource. This property can contain only the path, not a query string for specific instances.

Remarks

The corresponding scripting object is ResourceLocator.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsmandisp.h

See Also

ResourceLocator

Windows Remote Management Reference