共用方式為


ConnectionManagerHttpClass.UseServerCredentials 屬性

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

Gets or sets a Boolean that indicates whether the connection uses network credentials.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Property UseServerCredentials As Boolean 
    Get 
    Set
'用途
Dim instance As ConnectionManagerHttpClass 
Dim value As Boolean 

value = instance.UseServerCredentials

instance.UseServerCredentials = value
public virtual bool UseServerCredentials { get; set; }
public:
virtual property bool UseServerCredentials {
    bool get ();
    void set (bool value);
}
abstract UseServerCredentials : bool with get, set 
override UseServerCredentials : bool with get, set
function get UseServerCredentials () : boolean 
function set UseServerCredentials (value : boolean)

屬性值

型別:System.Boolean
true if the connection uses network credentials; otherwise, false.

實作

IDTSConnectionManagerHttp100.UseServerCredentials

請參閱

參考

ConnectionManagerHttpClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間