Udostępnij za pośrednictwem


Właściwość SnapshotGenerationAgent.PublisherEncryptionLevel

Pobiera zestawów poziom szyfrowanie SSL (Secure Sockets Layer) używane przez agenta migawki, nawiązując do dystrybutora.

Przestrzeń nazw:  Microsoft.SqlServer.Replication
Zestaw:  Microsoft.SqlServer.Replication (w Microsoft.SqlServer.Replication.dll)

Składnia

'Deklaracja
Public Property PublisherEncryptionLevel As Integer
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.Int32
A Int32 może być jedną z następujących wartości:

Wartość

Opis

0

Określa, że protokół SSL nie jest używany.

1

Określa, że protokół SSL jest używany, ale agent nie sprawdza, czy certyfikat serwera SSL jest podpisany przez wystawcę zaufanych.

2

Określa, że używany jest protokół SSL i sprawdza certyfikat.

Implementacje

ISnapshotGenerationAgent.PublisherEncryptionLevel