DistributorEncryptionLevel プロパティ
ディストリビュータに接続するときにスナップショット エージェントが使用する SSL (Secure Sockets Layer) 暗号化のレベルを取得します。値の設定も可能です。
名前空間: 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
次のいずれかの Int32 値を指定できます。
値 |
説明 |
---|---|
0 |
SSL は使用されません。 |
1 |
SSL は使用されますが、SSL サーバー証明書が信頼された発行者によって署名されているかについての確認は行われません。 |
2 |
SSL が使用され、証明書の確認が行われます。 |
実装
ISnapshotGenerationAgent. . :: . .DistributorEncryptionLevel