共用方式為


SMS_ProviderLocation伺服器 WMI 類別

SMS_ProviderLocation Configuration Manager 中的 Windows Management Instrumentation (WMI) 類別會識別月臺的 SMS 提供者位置。

下列語法已從受控物件格式 (MOF) 程式代碼簡化,並包含所有繼承的屬性。

語法

Class SMS_ProviderLocation
{
     String Machine;
     String NamespacePath;
     Boolean ProviderForLocalSite;
     String SiteCode;
};

屬性

Machine 資料類型: String

存取類型:讀取/寫入

限定符:無

SMS 提供者所在的計算機名稱。

NamespacePath 資料類型: String

存取類型:讀取/寫入

限定符:無

SMS 提供者命名空間的完整 WMI 路徑。

ProviderForLocalSite 資料類型: Boolean

存取類型:讀取/寫入

限定符:無

true 如果 SMS 提供者設定為用戶端的本機站台伺服器,則為 。

SiteCode 資料類型: String

存取類型:讀取/寫入

限定符:[金鑰]

月臺的月臺碼。

註解

這個類別沒有特殊類別限定符。 如需 [屬性] 區段中包含之類別限定符和屬性限定符的詳細資訊,請參閱 Configuration Manager 類別和屬性限定符。

如需使用此類別的資訊,請參閱如何使用WMI在 Configuration Manager 中聯機到SMS提供者

需求

運行時間需求

如需詳細資訊,請參閱 Configuration Manager 伺服器運行時間需求。

開發需求

如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。