SetPartnershipSetSourcePartnership method of the MSFT_WvrAdminTasks class

Changes the source and destination replication direction between two replication groups.

Syntax

uint32 SetPartnershipSetSourcePartnership(
  [in] string SourceRGName,
  [in] string NewSourceComputerName,
  [in] string DestinationRGName,
  [in] string DestinationComputerName
);

Parameters

SourceRGName [in]

The name of the source replication group.

NewSourceComputerName [in]

The FQDN or NetBIOS name of the new source computer.

DestinationRGName [in]

The name of the destination replication group.

DestinationComputerName [in]

The FQDN or NetBIOS name of the destination computer.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
WVRCimProv.Mof
DLL
WvrCimProv.dll

See also

MSFT_WvrAdminTasks