此 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.