Share via


Login.Certificate 속성

Gets the certificate associated with the login.

이 API는 CLS 규격이 아닙니다. 

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone,  _
    "string.empty")> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']",  _
    )> _
Public Property Certificate As String 
    Get 
    Set
‘사용 방법
Dim instance As Login 
Dim value As String 

value = instance.Certificate

instance.Certificate = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']", 
    )]
public string Certificate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone, 
    L"string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Certificate), L"Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']", 
    )]
public:
virtual property String^ Certificate {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']", 
    )>]
abstract Certificate : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']", 
    )>]
override Certificate : string with get, set
final function get Certificate () : String 
final function set Certificate (value : String)

속성 값

유형: System.String
A String value that specifies the certificate associated with the login.

구현

ILoginOptions.Certificate

사용자, 역할 및 로그인 관리

참고 항목

참조

Login 클래스

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

관련 자료

보안 주체(데이터베이스 엔진)

CREATE LOGIN(Transact-SQL)