UIConnectionInfoUtil.SetWindowsAuthentication 方法

定義

指定是否對物件清單UIConnectionInfo中的所有元素使用 Windows 認證。

多載

名稱 Description
SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

指定是否對物件清單UIConnectionInfo中的所有元素使用 Windows 認證。

SetWindowsAuthentication(UIConnectionInfo, Boolean)

指定UIConnectionInfo物件若啟用 Windows 認證,將使用。

SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

指定是否對物件清單UIConnectionInfo中的所有元素使用 Windows 認證。

public:
 static void SetWindowsAuthentication(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, bool enable);
public static void SetWindowsAuthentication(Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, bool enable);
static member SetWindowsAuthentication : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * bool -> unit
Public Shared Sub SetWindowsAuthentication (connectionInfoList As UIConnectionGroupInfo, enable As Boolean)

參數

connectionInfoList
UIConnectionGroupInfo

連線資訊清單。

enable
Boolean

true以啟用認證;否則,。 false

適用於

SetWindowsAuthentication(UIConnectionInfo, Boolean)

指定UIConnectionInfo物件若啟用 Windows 認證,將使用。

public:
 static void SetWindowsAuthentication(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, bool enable);
public static void SetWindowsAuthentication(Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, bool enable);
static member SetWindowsAuthentication : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * bool -> unit
Public Shared Sub SetWindowsAuthentication (ci As UIConnectionInfo, enable As Boolean)

參數

ci
UIConnectionInfo

連結的資訊。

enable
Boolean

true以啟用認證;否則,。 false

適用於