次の方法で共有


WvrSetPrimaryReplicationGroup method of the MSFT_WvrAdminTasks class

TBD

Syntax

uint32 WvrSetPrimaryReplicationGroup(
  [in] string  ReplicationGroupName,
  [in] string  SecondaryReplicationGroupName[],
  [in] string  SecondaryReplicationGroupId[],
  [in] string  SecondaryComputerName[],
  [in] string  PartnershipId[],
  [in] boolean Force
);

Parameters

ReplicationGroupName [in]

The name of the primary replication group.

SecondaryReplicationGroupName [in]

The names of the secondary replication groups.

SecondaryReplicationGroupId [in]

The IDs of the secondary replication groups.

SecondaryComputerName [in]

The FQDN or NetBIOS name of the secondary computer.

PartnershipId [in]

TBD

Force [in]

TBD

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