ISecureFactory.CreateInstanceWithSecurity Metodo

Definizione

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

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 del sito.

lpId
String

Identità univoca per il sito.

lpLink
String

Parte del collegamento dell'URL, che può essere relativa.

lpLicenses
String

Percorso dei file di licenza da associare al dominio.

Valori restituiti

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

Si applica a