共用方式為


DatabaseMirroringPayload.EndpointEncryption 屬性

Gets or sets the encryption state on the mirroring payload.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EndpointEncryption As EndpointEncryption 
    Get 
    Set
'用途
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)

屬性值

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

範例

實作端點

請參閱

參考

DatabaseMirroringPayload 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

資料庫鏡像管理

CREATE ENDPOINT (Transact-SQL)