Share via


DatabaseMirroringPayload.EndpointEncryption Property

Gets or sets the encryption state on the mirroring payload.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property EndpointEncryption As EndpointEncryption
    Get
    Set
'Usage
Dim instance As DatabaseMirroringPayload
Dim value As EndpointEncryption

value = instance.EndpointEncryption

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.EndpointEncryption
An EndpointEncryption value that specifies the encryption state on the mirroring payload.