Udostępnij przez


ISecureFactory.CreateInstanceWithSecurity Metoda

Definicja

Tworzy nowe wystąpienie typu COM, które reprezentuje bezpieczną fabrykę klas.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

dwIdentityFlag
Int32

Jedna z następujących wartości CORIESECURITY:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

Jedna z następujących wartości URLZONE:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

lpSite
String

Adres URL witryny.

lpId
String

Unikatowa tożsamość witryny.

lpLink
String

Część linku adresu URL, która może być względna.

lpLicenses
String

Lokalizacja plików licencji do skojarzenia z domeną.

Zwraca

Obiekt, który jest otoką dla nowego wystąpienia. Wartość zwracana musi zostać rozpasana, aby uzyskać dostęp do rzeczywistego obiektu.

Dotyczy