次の方法で共有


Win32_SessionBrokerServiceProperties クラスの IsDbReachable メソッド

データベースに到達できるかどうかを確認します。

構文

uint32 IsDbReachable(
  [in] string connStringToDb,
  [in] string connSecondaryStringToDb,
  [in] string activeBrokerName
);

パラメーター

connStringToDb [in]

データベースへの接続文字列。

connSecondaryStringToDb [in]

中央データベースへのセカンダリ接続文字列。

Windows Server 2012 R2 と Windows Server 2012: このパラメーターは、Windows Server 2016する前に使用できません。

activeBrokerName [in]

アクティブなブローカー名。

Windows Server 2012 R2 と Windows Server 2012: このパラメーターは、Windows Server 2016する前に使用できません。

必要条件

要件
サポートされている最小のクライアント
サポートなし
サポートされている最小のサーバー
Windows Server 2012
名前空間
Root\CIMv2\TerminalServices
MOF
TssdWmi.mof
[DLL]
TssdWmi.dll

関連項目

Win32_SessionBrokerServiceProperties