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(SfcPropertyFlags.Standalone)> _
Public Property EndpointEncryption As EndpointEncryption 
    Get 
    Set
'Usage
Dim instance As DatabaseMirroringPayload 
Dim value As EndpointEncryption 

value = instance.EndpointEncryption

instance.EndpointEncryption = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public EndpointEncryption EndpointEncryption { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property EndpointEncryption EndpointEncryption {
    EndpointEncryption get ();
    void set (EndpointEncryption value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.

Examples

Implementing Endpoints

See Also

Reference

DatabaseMirroringPayload Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Mirroring Administration

CREATE ENDPOINT (Transact-SQL)