共用方式為


UseWindowsAuthentication 屬性

Gets or sets a value indicating whether Windows Integrated Security Authentication will be used.

命名空間:  Microsoft.SqlServer.Management.MultiServerConnection
組件:  Microsoft.SqlServer.Management.MultiServerConnection (在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)

語法

'宣告
Public Property UseWindowsAuthentication As Boolean
    Get
    Set
'用途
Dim instance As MultiServerSqlConnectionInfo
Dim value As Boolean

value = instance.UseWindowsAuthentication

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

屬性值

型別:System. . :: . .Boolean
True if the Windows Integrated Security Authentication will be used. Otherwise, false.