ISecureFactory.CreateInstanceWithSecurity Method

Definition

Creates a new instance of a COM type that represents a secure class factory.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

dwIdentityFlag
Int32

One of the following CORIESECURITY values:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

One of the following URLZONE values:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

lpSite
String

The URL for the site.

lpId
String

The unique identity for the site.

lpLink
String

The link portion of the URL, which can be relative.

lpLicenses
String

The location of the license files to associate with the domain.

Returns

An object that is a wrapper for the new instance. The return value must be unwrapped to access the real object.

Applies to