ISecureFactory.CreateInstanceWithSecurity Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria uma nova instância de um tipo COM que representa uma fábrica de classes segura.
Esta API suporta a infraestrutura de produtos e não é pressuposta para ser utilizada diretamente a partir do seu código.
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
Parâmetros
- dwIdentityFlag
- Int32
Um dos seguintes valores CORIESECURITY:
CORIESECURITY_ZONE: 0x01
CORIESECURITY_SITE: 0x02
- dwZone
- Int32
Um dos seguintes valores de URLZONE:
URLZONE_LOCAL_MACHINE: 0x00
URLZONE_INTRANET: 0x01
URLZONE_TRUSTED: 0x02
URLZONE_INTERNET: 0x03
URLZONE_UNTRUSTED: 0x04
- lpSite
- String
O URL do site.
- lpId
- String
A identidade única do site.
- lpLink
- String
A parte do link do URL, que pode ser relativa.
- lpLicenses
- String
A localização dos ficheiros de licença para associar ao domínio.
Devoluções
Um objeto que é um wrapper para a nova instância. O valor de retorno deve ser desembrulhado para aceder ao objeto real.