SetBrokerHAMode method of the Win32_SessionBrokerServiceProperties class
Migrates data from a local WID database to the new SQL server-based database. It also configures the broker server to use the central SQL server.
Syntax
uint32 SetBrokerHAMode(
[in] string connStringToCentralDBRdcms,
[in] string secondaryConnStringToCentralDBRdcms,
[in] string brokerDnsRRName,
[in] string activeBrokerName
);
Parameters
-
connStringToCentralDBRdcms [in]
-
Connection string to the central database.
-
secondaryConnStringToCentralDBRdcms [in]
-
Secondary connection string to the central database.
Windows Server 2012 R2 and Windows Server 2012: This parameter is not available before Windows Server 2016.
-
brokerDnsRRName [in]
-
Broker DNS name.
-
activeBrokerName [in]
-
Active broker name.
Windows Server 2012 R2 and Windows Server 2012: This parameter is not available before Windows Server 2016.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|