RemovePartnership method of the MSFT_WvrAdminTasks class

Removes an existing replication partnership.

Syntax

uint32 RemovePartnership(
  [in] string  SourceComputerName,
  [in] string  SourceRGName,
  [in] string  DestinationComputerName,
  [in] string  DestinationRGName,
  [in] boolean IgnoreRemovalFailure
);

Parameters

SourceComputerName [in]

The FQDN or NetBIOS name of the source computer.

SourceRGName [in]

The name of the source replication group.

DestinationComputerName [in]

The FQDN or NetBIOS name of the destination computer.

DestinationRGName [in]

The name of the destination replication group.

IgnoreRemovalFailure [in]

true to ignore a removal failure; otherwise, false.

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