UIConnectionInfoUtil.SetWindowsAuthentication Method

Definition

Specifies whether to use Windows Authentication for all elements in the list of the UIConnectionInfo object.

Overloads

SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

Specifies whether to use Windows Authentication for all elements in the list of the UIConnectionInfo object.

SetWindowsAuthentication(UIConnectionInfo, Boolean)

Specifies the UIConnectionInfo object to use Windows Authentication if enable.

SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

Specifies whether to use Windows Authentication for all elements in the list of the UIConnectionInfo object.

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)

Parameters

connectionInfoList
UIConnectionGroupInfo

The list of the connection information.

enable
Boolean

true to enable authentication; otherwise, false.

Applies to

SetWindowsAuthentication(UIConnectionInfo, Boolean)

Specifies the UIConnectionInfo object to use Windows Authentication if enable.

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)

Parameters

ci
UIConnectionInfo

The information of the connection.

enable
Boolean

true to enable authentication; otherwise, false.

Applies to