Export (0) Print
Expand All

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.

When to use

This object allows you to:

Members

The IWSManResourceLocator interface inherits from the IUnknown interface. IWSManResourceLocator also has these types of members:

Methods

The IWSManResourceLocator interface has these methods.

MethodDescription
AddOption

Adds additional data required to process the request. For example, some WMI providers may require an IWbemContext or SWbemNamedValueSet object with provider-specific information.

AddSelector

Adds a selector to the IWSManResourceLocator object. The selector specifies a particular instance of a resource.

ClearOptions

Removes any options from the IWSManResourceLocator object.

ClearSelectors

Removes all the selectors from an IWSManResourceLocator object.

 

Properties

The IWSManResourceLocator interface has these properties.

PropertyDescription

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.

FragmentPath Property

Gets or sets the path for a resource fragment or property when an instance of IWSManResourceLocator is used in IWSManSession methods such as Get, Put, or Enumerate.

MustUnderstandOptions Property

Gets or sets the MustUnderstandOptions value for the IWSManResourceLocator object.

ResourceURI Property

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

Redistributable

WinRM 1.1 (Windows Server 2003 R2, or Windows Server 2003 with SP1)

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

Windows Remote Management Reference
ResourceLocator

 

 

Show:
© 2014 Microsoft