共用方式為


PublishLicense.AcquireUseLicense(SecureEnvironment) 方法

定義

嘗試取得適用於 UseLicense 中使用者或使用者群組的 SecureEnvironment

public:
 System::Security::RightsManagement::UseLicense ^ AcquireUseLicense(System::Security::RightsManagement::SecureEnvironment ^ secureEnvironment);
public System.Security.RightsManagement.UseLicense AcquireUseLicense (System.Security.RightsManagement.SecureEnvironment secureEnvironment);
member this.AcquireUseLicense : System.Security.RightsManagement.SecureEnvironment -> System.Security.RightsManagement.UseLicense
Public Function AcquireUseLicense (secureEnvironment As SecureEnvironment) As UseLicense

參數

secureEnvironment
SecureEnvironment

授權啟用與繫結的安全環境。

傳回

UseLicense

適用於指定 secureEnvironment 中使用者或使用者群組的 UseLicense

例外狀況

secureEnvironmentnull

驗證失敗。

適用於

另請參閱