Aracılığıyla paylaş


DatabaseMirroringPayload.Certificate Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Certificate As String
    Get
    Set
'Kullanım
Dim instance As DatabaseMirroringPayload
Dim value As String

value = instance.Certificate

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

Property Value

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

Remarks

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

Examples

Implementing Endpoints

See Also

Reference

DatabaseMirroringPayload Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Mirroring Administration

CREATE ENDPOINT (Transact-SQL)