次の方法で共有


SnapshotGenerationAgent.PublisherEncryptionLevel プロパティ

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 PublisherEncryptionLevel As Integer 
    Get 
    Set
'使用
Dim instance As SnapshotGenerationAgent 
Dim value As Integer 

value = instance.PublisherEncryptionLevel

instance.PublisherEncryptionLevel = value
public int PublisherEncryptionLevel { get; set; }
public:
virtual property int PublisherEncryptionLevel {
    int get () sealed;
    void set (int value) sealed;
}
abstract PublisherEncryptionLevel : int with get, set 
override PublisherEncryptionLevel : int with get, set
final function get PublisherEncryptionLevel () : int 
final function set PublisherEncryptionLevel (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.PublisherEncryptionLevel

関連項目

参照

SnapshotGenerationAgent クラス

Microsoft.SqlServer.Replication 名前空間

その他の技術情報

セキュリティの概要 (レプリケーション)