UIConnectionInfoUtil.SetWindowsAuthentication メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
UIConnectionInfo オブジェクトのリストにあるすべての要素に Windows 認証を使用するかどうかを指定します。
オーバーロード
SetWindowsAuthentication(UIConnectionGroupInfo, Boolean) |
UIConnectionInfo オブジェクトのリストにあるすべての要素に Windows 認証を使用するかどうかを指定します。 |
SetWindowsAuthentication(UIConnectionInfo, Boolean) |
Windows 認証が有効な場合には 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)
Windows 認証が有効な場合には 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)
パラメーター
接続の情報。
- enable
- Boolean
認証を有効にする場合は true
、それ以外の場合は false
です。