共用方式為


Certificate 屬性

Gets or sets the certificate used to authenticate the connection for the mirroring payload.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property Certificate As String
    Get
    Set
'用途
Dim instance As DatabaseMirroringPayload
Dim value As String

value = instance.Certificate

instance.Certificate = value
[SfcPropertyAttribute]
public string Certificate { get; set; }
[SfcPropertyAttribute]
public:
property String^ Certificate {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member Certificate : string with get, set
function get Certificate () : String
function set Certificate (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies certificate used to encrypt the mirroring payload.

備註

The far endpoint must have a certificate that has the public key that matches the private key of the specified certificate.

範例

實作端點