Partager via


NewSrGroup method of the MSFT_WvrAdminTasks class

Creates a replication group.

Syntax

uint32 NewSrGroup(
  [in]  string                   ComputerName,
  [in]  string                   Description,
  [in]  uint64                   LogSizeInBytes,
  [in]  string                   LogVolumeName,
  [in]  string                   Name,
  [in]  string                   VolumeName[],
  [in]  boolean                  EnableConsistencyGroups,
  [in]  boolean                  EnableEncryption,
  [in]  uint32                   MinimumPartnersInSync,
  [out] MSFT_WvrReplicationGroup Output[]
);

Parameters

ComputerName [in]

The FQDN or NetBIOS name of the computer on which to create the replication group.

Description [in]

A textual description of the new group.

LogSizeInBytes [in]

The size of the log file in Bytes.

LogVolumeName [in]

Full path of the log container.

Name [in]

The friendly name of the group.

VolumeName [in]

A collection of volume names.

EnableConsistencyGroups [in]

Set true to enable consistency groups.

EnableEncryption [in]

true to enable encryption; otherwise, false.

MinimumPartnersInSync [in]

TBD

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