SnapshotGenerationAgent.DistributorEncryptionLevel 属性

Gets of sets the level of Secure Sockets Layer (SSL) encryption used by the Snapshot Agent when connecting to the Distributor.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Property DistributorEncryptionLevel As Integer 
    Get 
    Set
用法
Dim instance As SnapshotGenerationAgent 
Dim value As Integer 

value = instance.DistributorEncryptionLevel

instance.DistributorEncryptionLevel = value
public int DistributorEncryptionLevel { get; set; }
public:
virtual property int DistributorEncryptionLevel {
    int get () sealed;
    void set (int value) sealed;
}
abstract DistributorEncryptionLevel : int with get, set 
override DistributorEncryptionLevel : int with get, set
final function get DistributorEncryptionLevel () : int 
final function set DistributorEncryptionLevel (value : int)

属性值

类型:System.Int32
A Int32 value that can be one of the following:

Value

Description

0

Specifies that SSL is not used.

1

Specifies that SSL is used, but the agent does not verify that the SSL server certificate is signed by a trusted issuer.

2

Specifies that SSL is used, and that the certificate is verified.

实现

ISnapshotGenerationAgent.DistributorEncryptionLevel

请参阅

参考

SnapshotGenerationAgent 类

Microsoft.SqlServer.Replication 命名空间

其他资源

安全性概述(复制)