Partager via


SnapshotGenerationAgent.DistributorEncryptionLevel Property

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

Syntaxe

'Déclaration
Public Property DistributorEncryptionLevel As Integer
public int DistributorEncryptionLevel { get; set; }
public:
virtual property int DistributorEncryptionLevel {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_DistributorEncryptionLevel ()

/** @property */
public final void set_DistributorEncryptionLevel (int value)
public final function get DistributorEncryptionLevel () : int

public final function set DistributorEncryptionLevel (value : int)

Valeur de propriété

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace

Autres ressources

Éléments de sécurité de la réplication