WvrCreateReplicationGroup method of the MSFT_WvrAdminTasks class
Creates a new replication group.
Syntax
uint32 WvrCreateReplicationGroup(
[in] string ReplicationGroupName,
[in] string Description,
[in] string VolumeNames[],
[in] string LogPath,
[in] uint64 MaxLogSizeInByte,
[in] uint32 ReplicationMode,
[in] uint32 MinimumPartnersInSync,
[in] boolean EnableWriteConsistency,
[in] boolean EnableEncryption,
[in] string CertificateThumbprint,
[out] MSFT_SrJob REF Task
);
Parameters
-
ReplicationGroupName [in]
-
The name of the replication group to create.
-
Description [in]
-
A text description of the group.
-
VolumeNames [in]
-
A collection of volume names.
-
LogPath [in]
-
Full path of the log container.
-
MaxLogSizeInByte [in]
-
The maximum size of the log file in Bytes.
-
ReplicationMode [in]
-
Whether the replication is performed synchronously or asynchronously.
The possible values are.
-
Sync (1)
-
Async (2)
MinimumPartnersInSync [in]
TBD
EnableWriteConsistency [in]
Set true to enable write consistency.
EnableEncryption [in]
true to enable encryption; otherwise, false.
CertificateThumbprint [in]
The certificate thumbprint.
Task [out]
Returns a reference to the MSFT_SrJob instance that represents the asynchronous process of creating the replication group.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\StorageReplica |
MOF |
|
DLL |
|