共用方式為


類別SMS_DeviceMethods中的 AllowAccess 方法

Configuration Manager AllowAccess 中的 Windows Management Instrumentation (WMI) 類別方法可讓Exchange ActiveSync裝置連線到 Exchange。

下列語法是從受控物件格式 (MOF) 程式碼中簡化,並定義 方法。

語法

SInt32 AllowAccess(  
   UInt32 ResourceId  
   String EASIdentities[]  
);  

參數

ResourceId
資料類型:UInt32

限定詞:[in]

資源的識別碼。

EASIdentities
資料類型: String 陣列

限定詞:[in]

Exchange ActiveSync身分識別的陣列。

傳回值

資料 SInt32 類型,為 0 表示成功或非零表示失敗。

如需處理傳回錯誤的相關資訊,請參閱關於Configuration Manager錯誤

需求

另請參閱

SMS_DeviceMethods伺服器 WMI 類別