次の方法で共有


GetStretchPartnership method of the MSFT_WvrAdminTasks class

Retrieves a replication partnership.

Syntax

uint32 GetStretchPartnership(
  [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 a collection of resulting MSFT_WvrReplicationPartnership embedded instances.

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