GetSecondaryConnectionString method of the Win32_RDMSDeploymentSettings class

Retrieves the deployment-level database secondary connection string, which may be used to support password expiration.

Syntax

uint32 GetSecondaryConnectionString(
  [out] string SecondaryConnectionString
);

Parameters

SecondaryConnectionString [out]

The connection string to retrieve

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\cimv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSDeploymentSettings