Delen via


DistributionPublisher.TrustedDistributorConnection Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property TrustedDistributorConnection As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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

See Also

Reference

DistributionPublisher Class

Microsoft.SqlServer.Replication Namespace