共用方式為


DistributionPublisher.TrustedDistributorConnection 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property TrustedDistributorConnection As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

備註

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

請參閱

參考

DistributionPublisher 類別

Microsoft.SqlServer.Replication 命名空間