ISecureFactory2.CreateInstanceWithSecurity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個代表安全類別工廠的新 COM 類型實例。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
System::Object ^ CreateInstanceWithSecurity(int dwIdentityFlag, int dwZone, System::String ^ lpSite, System::String ^ lpId, System::String ^ lpLink, System::String ^ lpLicenses);
public object CreateInstanceWithSecurity(int dwIdentityFlag, int dwZone, string lpSite, string lpId, string lpLink, string lpLicenses);
abstract member CreateInstanceWithSecurity : int * int * string * string * string * string -> obj
Public Function CreateInstanceWithSecurity (dwIdentityFlag As Integer, dwZone As Integer, lpSite As String, lpId As String, lpLink As String, lpLicenses As String) As Object
參數
- dwZone
- Int32
以下 URLZONE 值之一:
URLZONE_LOCAL_MACHINE:0x00
URLZONE_INTRANET:0x01
URLZONE_TRUSTED:0x02
URLZONE_INTERNET:0x03
URLZONE_UNTRUSTED:0x04
- lpSite
- String
包含將建立安全類別工廠應用程式的網站網址。
- lpId
- String
網站的獨特身份。
- lpLink
- String
網址中的連結部分,可以是相對的。
- lpLicenses
- String
授權檔案的位置,用來與網域關聯。
傳回
一個作為新實例包裝器的物件。 必須展開回傳值才能存取真實物件。