SnapshotGenerationAgent.PublisherEncryptionLevel Property

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 (in microsoft.sqlserver.replication.dll)

語法

'宣告
Public Property PublisherEncryptionLevel As Integer
public int PublisherEncryptionLevel { get; set; }
public:
virtual property int PublisherEncryptionLevel {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_PublisherEncryptionLevel ()

/** @property */
public final void set_PublisherEncryptionLevel (int value)
public final function get PublisherEncryptionLevel () : int

public final function set PublisherEncryptionLevel (value : int)

屬性值

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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace

其他資源

複寫安全性元素