UIConnectionInfoUtil.SetWindowsAuthentication Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Gibt an, ob die Windows-Authentifizierung für alle Elemente in der Liste des UIConnectionInfo-Objekts verwendet werden soll.
Überlädt
| SetWindowsAuthentication(UIConnectionGroupInfo, Boolean) |
Gibt an, ob die Windows-Authentifizierung für alle Elemente in der Liste des UIConnectionInfo-Objekts verwendet werden soll. |
| SetWindowsAuthentication(UIConnectionInfo, Boolean) |
Gibt das UIConnectionInfo-Objekt an, das bei entsprechender Aktivierung die Windows-Authentifizierung verwenden soll. |
SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)
Gibt an, ob die Windows-Authentifizierung für alle Elemente in der Liste des UIConnectionInfo-Objekts verwendet werden soll.
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)
Parameter
- connectionInfoList
- UIConnectionGroupInfo
Die Liste der Verbindungsinformationen.
- enable
- Boolean
true, wenn die Authentifizierung aktiviert werden soll; andernfalls false.
Gilt für:
SetWindowsAuthentication(UIConnectionInfo, Boolean)
Gibt das UIConnectionInfo-Objekt an, das bei entsprechender Aktivierung die Windows-Authentifizierung verwenden soll.
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)
Parameter
Die Informationen der Verbindung.
- enable
- Boolean
true, wenn die Authentifizierung aktiviert werden soll; andernfalls false.