GetPartnership method of the MSFT_WvrAdminTasks class

Retrieves a replication partnership.

Syntax

uint32 GetPartnership(
  [in]  string                         SourceRGName,
  [in]  string                         SourceComputerName,
  [in]  string                         DestinationRGName,
  [in]  string                         DestinationComputerName,
  [out] MSFT_WvrReplicationPartnership Output[]
);

Parameters

SourceRGName [in]

The name of the source replication group.

SourceComputerName [in]

The FQDN or NetBIOS name of the source computer.

DestinationRGName [in]

The name of the destination replication group.

DestinationComputerName [in]

The FQDN or NetBIOS name of the destination computer.

Output [out]

Returns the resulting MSFT_WvrReplicationPartnership embedded instance.

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