ExchangeReplicationGroupId method of the MSFT_WvrAdminTasks class

Exchanges the replication group ID between source and destination replication groups.

Syntax

uint32 ExchangeReplicationGroupId(
  [in]  string SourceReplicationGroupName,
  [in]  string SourceReplicationGroupId,
  [in]  string TargetReplicationGroupName,
  [out] string TargetReplicationGroupId
);

Parameters

SourceReplicationGroupName [in]

The name of the source replication group.

SourceReplicationGroupId [in]

The ID of the source replication group.

TargetReplicationGroupName [in]

The name of the target replication group.

TargetReplicationGroupId [out]

The ID of the target replication group.

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