UIConnectionInfo.AuthenticationType 속성

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.

네임스페이스:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
어셈블리:  Microsoft.SqlServer.RegSvrEnum(Microsoft.SqlServer.RegSvrEnum.dll)

구문

‘선언
Public Property AuthenticationType As Integer 
    Get 
    Set
‘사용 방법
Dim instance As UIConnectionInfo 
Dim value As Integer 

value = instance.AuthenticationType

instance.AuthenticationType = value
public int AuthenticationType { get; set; }
public:
property int AuthenticationType {
    int get ();
    void set (int value);
}
member AuthenticationType : int with get, set
function get AuthenticationType () : int 
function set AuthenticationType (value : int)

속성 값

유형: System.Int32
An Int32 value that specifies 1 if the connection dialog should use SQL Server Authentication or 0 if it should use Windows Authentication.

주의

가능하면 Windows 인증을 사용하십시오.

참고 항목

참조

UIConnectionInfo 클래스

Microsoft.SqlServer.Management.Smo.RegSvrEnum 네임스페이스