类SMS_Client中的 GetAssignedSite 方法

在 Configuration Manager 中GetAssignedSite, 方法获取客户端的当前分配站点。

以下语法从托管对象格式 (MOF) 代码中简化,并定义了 方法。

语法

UInt32 GetAssignedSite(
     String sSiteCode
);

参数

sSiteCode 数据类型: String

限定符:[out]

当前分配的站点的站点代码。

返回值

数据类型 UInt32 为 0 表示成功,非零表示失败。

要求

运行时要求

有关详细信息,请参阅 Configuration Manager客户端运行时要求

开发要求

有关详细信息,请参阅 Configuration Manager客户端开发要求

另请参阅

SMS_Client 类中的类SMS_Client RequestMachinePolicy 方法中的SMS_ClientSetAssignedSite 方法中的类SMS_Client SetAssignedSite 方法中的类SMS_ClientSetGlobalLoggingConfiguration 方法中的类SMS_ClientTriggerSchedule 方法中的 ResetPolicy 方法SMS_Client