次の方法で共有


GetGroupFromPartnership method of the MSFT_WvrAdminTasks class

Retrieves a replication group.

Syntax

uint32 GetGroupFromPartnership(
  [in]  string                   SourceRGName,
  [in]  string                   SourceComputerName,
  [in]  string                   DestinationRGName,
  [in]  string                   DestinationComputerName,
  [out] MSFT_WvrReplicationGroup 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_WvrReplicationGroup 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