다음을 통해 공유


Certificate 속성

Gets the certificate associated with the login.

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

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

구문

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

value = instance.Certificate

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