SetAssignedSite Configuration Manager 中的方法會設定用戶端的指派月臺。
下列語法是從 [受控物件格式] 簡化而 (MOF) 程式碼,並定義方法。
語法
UInt32 SetAssignedSite(
String sSiteCode
);
參數
sSiteCode 資料類型: String
限定詞:[in]
用戶端指派的網站代碼。
傳回值
UInt32資料類型為 0 表示成功,非零表示失敗。
需求
執行階段需求
如需詳細資訊,請參閱 Configuration Manager 用戶端執行階段需求。
開發需求
如需詳細資訊,請參閱 Configuration Manager 用戶端開發需求。
另請參閱
SMS_Client 用戶端 WMI類別中的 EvaluateMachinePolicy 方法 SMS_Client類別中的 GetAssignedSite 方法 SMS_Client類別中的 RequestMachinePolicy 方法 SMS_Client類別中的 ResetPolicy 方法 SMS_Client類別中的 SetGlobalLoggingConfiguration 方法SMS_Client SMS_Client 類別中的 TriggerSchedule 方法