次の方法で共有


QueryReplicationPartners method of the MSFT_WvrAdminTasks class

Returns the partners of a replication group.

Syntax

uint32 QueryReplicationPartners(
  [in]  string  ReplicationGroupName,
  [in]  boolean ContainSourceGroup,
  [out] string  PartnerGroupNames[],
  [out] string  PartnerComputerNames[],
  [out] string  PartnershipIds[],
  [out] string  OwnerNode,
  [out] boolean IsStretch
);

Parameters

ReplicationGroupName [in]

Identifies the replication group.

ContainSourceGroup [in]

true to contain the source group.

PartnerGroupNames [out]

The names of replication groups in a partner relationship with the group specified in the ReplicationGroupName parameter.

PartnerComputerNames [out]

The FQDN or NetBIOS names of the computers related to the returned replication groups.

PartnershipIds [out]

TBD

OwnerNode [out]

TBD.

IsStretch [out]

Whether the partnership is a stretch partnership.

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

MSFT_WvrReplicationPartnership