Share via


Propriété SnapshotGenerationAgent.DistributorEncryptionLevel

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Property DistributorEncryptionLevel As Integer 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : 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.

Implémente

ISnapshotGenerationAgent.DistributorEncryptionLevel

Voir aussi

Référence

SnapshotGenerationAgent Classe

Espace de noms Microsoft.SqlServer.Replication

Autres ressources

Vue d'ensemble de la sécurité (réplication)