Win32_SessionBrokerServiceProperties 类的 SetSBDbConnectionStrings 方法

将数据库连接字符串(主连接字符串和辅助连接字符串)保存在注册表中。

语法

uint32 SetSBDbConnectionStrings(
  [in] string connStringToCentralDBRdcms,
  [in] string secondaryConnStringToCentralDBRdcms
);

parameters

connStringToCentralDBRdcms [in]

主连接字符串。

secondaryConnStringToCentralDBRdcms [in]

辅助连接字符串。

要求

要求
最低受支持的客户端
无受支持的版本
最低受支持的服务器
Windows Server 2016
命名空间
Root\CIMv2\TerminalServices
MOF
TssdWmi.mof
DLL
RDMS.dll

请参阅

Win32_SessionBrokerServiceProperties