Share via


ConvertReplicationTypeToSyncType method of the CIM_ReplicationServiceCapabilities class

This method does the opposite of the method ConvertSyncTypeToReplicationType. This method translates ReplicationType to the corresponding SyncType, Mode, Local/Remote.

Syntax

uint32 ConvertReplicationTypeToSyncType(
  [in]  uint16 ReplicationType,
  [out] uint16 SyncType,
  [out] uint16 Mode,
  [out] uint16 LocalOrRemote
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

SyncType [out]

The type of copy.

Mirror (6)

Create and maintain a copy of the source.

Snapshot (7)

Create a PIT, virtual copy of the source.

Clone (8)

Create an unsynchronized copy of the source.

DMTF Reserved

Reserved.

Vendor Specific

Reserved.

Mode [out]

Mode describes whether the target elements will be updated synchronously or asynchronously.

Synchronous (2)

Asynchronous (3)

DMTF Reserved

4 32767

Vendor Specific

32768 65535

LocalOrRemote [out]

Copy to local or remote replica.

Local (2)

Remote (3)

DMTF Reserved

4 32767

Vendor Specific

32768 65535

Return value

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 32767)

Vendor Specific (32768 4294967295)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SMiSCSITargetProv.dll

See also

CIM_ReplicationServiceCapabilities