ISecureFactory2.CreateInstanceWithSecurity2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of a COM type that represents a secure class factory by using information from the deployment manifest.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Object ^ CreateInstanceWithSecurity2(int dwFlags, int dwZone, System::String ^ wszSite, System::String ^ wszId, System::String ^ wszConfig, System::String ^ wszLicenses, System::String ^ wszDeploymentManifest);
public object CreateInstanceWithSecurity2 (int dwFlags, int dwZone, string wszSite, string wszId, string wszConfig, string wszLicenses, string wszDeploymentManifest);
abstract member CreateInstanceWithSecurity2 : int * int * string * string * string * string * string -> obj
Public Function CreateInstanceWithSecurity2 (dwFlags As Integer, dwZone As Integer, wszSite As String, wszId As String, wszConfig As String, wszLicenses As String, wszDeploymentManifest As String) As Object
Parameters
- dwFlags
- 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
- wszSite
- String
The URL for the site that contains the application for which the secure class factory will be created.
- wszId
- String
The unique identity for the site.
- wszConfig
- String
The link portion of the URL, which can be relative.
- wszLicenses
- String
The location of the license files to associate with the domain.
- wszDeploymentManifest
- String
The location of the deployment manifest.
Returns
An object that is a wrapper for the new instance. The return value must be unwrapped to access the real object.