wsmandisp.h (iWSManResourceLocator 介面)

提供資源的路徑。 您可以使用 IWSManResourceLocator 物件,而不是 IWSManSession 物件作業中的資源 URI,例如 IWSManSession.GetIWSManSession.PutIWSManSession.Enumerate

繼承

IWSManResourceLocator 介面繼承自 IUnknown 介面。 IWSManResourceLocator 也有下列類型的成員:

方法

IWSManResourceLocator 介面具有這些方法。

 
IWSManResourceLocator::AddOption

新增處理要求所需的數據。 例如,某些 WMI 提供者可能需要具有提供者特定資訊的 IWbemContext 或 SWbemNamedValueSet 物件。
IWSManResourceLocator::AddSelector

將選取器新增至 ResourceLocator 物件。 選取器會指定資源的特定實例。
IWSManResourceLocator::ClearOptions

從 ResourceLocator 物件移除任何選項。
IWSManResourceLocator::ClearSelectors

從 ResourceLocator 物件中移除所有選取器。 您可以提供 ResourceLocator 物件,而不是在 IWSManSession 物件作業中指定資源 URI,例如 Get、Put 或 Enumerate。
IWSManResourceLocator::get_Error

取得其他錯誤資訊的 XML 表示。 (IWSManResourceLocator.get_Error)
IWSManResourceLocator::get_FragmentDialect

當 IWSManResourceLocator 用於 IWSManSession 物件方法,例如 Get、Put 或 Enumerate 時,取得或設定資源片段方言的語言方言。 (取得)
IWSManResourceLocator::get_FragmentPath

取得或設定在 IWSManSession 物件方法中使用 ResourceLocator 時的資源片段或屬性路徑,例如 Get、Put 或 Enumerate。 (取得)
IWSManResourceLocator::get_MustUnderstandOptions

取得或設定 ResourceLocator 物件的 MustUnderstandOptions 值。 (取得)
IWSManResourceLocator::get_ResourceURI

要求之資源的資源 URI。 此屬性只能包含路徑,而不能包含特定實例的查詢字串。 (取得)
IWSManResourceLocator::p ut_FragmentDialect

當 IWSManResourceLocator 用於 IWSManSession 物件方法,例如 Get、Put 或 Enumerate 時,取得或設定資源片段方言的語言方言。 (Put)
IWSManResourceLocator::p ut_FragmentPath

取得或設定在 IWSManSession 物件方法中使用 ResourceLocator 時的資源片段或屬性路徑,例如 Get、Put 或 Enumerate。 (Put)
IWSManResourceLocator::p ut_MustUnderstandOptions

取得或設定 ResourceLocator 物件的 MustUnderstandOptions 值。 (Put)
IWSManResourceLocator::p ut_ResourceURI

要求之資源的資源 URI。 此屬性只能包含路徑,而不能包含特定實例的查詢字串。 (Put)

備註

對應的腳本物件是 ResourceLocator

規格需求

需求
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 wsmandisp.h

另請參閱

ResourceLocator

Windows 遠端管理參考