Partager via


Propriété DistributionPublisher.TrustedDistributorConnection

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Gets or sets a value that indicates whether the distributor connection is trusted.

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

Syntaxe

'Déclaration
Public Property TrustedDistributorConnection As Boolean 
    Get 
    Set
'Utilisation
Dim instance As DistributionPublisher 
Dim value As Boolean 

value = instance.TrustedDistributorConnection

instance.TrustedDistributorConnection = value
public bool TrustedDistributorConnection { get; set; }
public:
property bool TrustedDistributorConnection {
    bool get ();
    void set (bool value);
}
member TrustedDistributorConnection : bool with get, set
function get TrustedDistributorConnection () : boolean 
function set TrustedDistributorConnection (value : boolean)

Valeur de propriété

Type : System.Boolean
true if the distributor connection is trusted; otherwise, false.

Notes

The TrustedDistributorConnection property has been deprecated. Setting it to anything but false results in an error.

Voir aussi

Référence

DistributionPublisher Classe

Espace de noms Microsoft.SqlServer.Replication