다음을 통해 공유


ISecureFactory2.CreateInstanceWithSecurity 메서드

정의

보안 클래스 팩터리를 나타내는 COM 형식의 새 인스턴스를 만듭니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

dwIdentityFlag
Int32

다음 CORIESECURITY 값 중 하나입니다.

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

다음 URLZONE 값 중 하나입니다.

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

lpSite
String

보안 클래스 팩터리가 생성될 애플리케이션이 포함된 사이트의 URL입니다.

lpId
String

사이트의 고유 ID입니다.

lpLink
String

상대 경로일 수 있는 URL의 링크 부분입니다.

lpLicenses
String

도메인과 연결할 라이선스 파일의 위치입니다.

반환

새 인스턴스의 래퍼인 개체입니다. 실제 개체에 액세스하려면 반환 값을 래핑 해제해야 합니다.

구현

적용 대상