Condividi tramite


ISecureFactory.CreateInstanceWithSecurity Metodo

Definizione

Crea una nuova istanza di un tipo COM che rappresenta una class factory protetta.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

dwIdentityFlag
Int32

Uno dei valori CORIESECURITY seguenti:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

Uno dei valori URLZONE seguenti:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

lpSite
String

URL per il sito.

lpId
String

Identità univoca del sito.

lpLink
String

Parte dell'URL con il collegamento, che può essere relativo.

lpLicenses
String

Percorso dei file di licenza da associare al dominio.

Restituisce

Oggetto che rappresenta un wrapper per la nuova istanza. Per accedere all'oggetto reale è necessario annullare il wrapping del valore restituito.

Si applica a