Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The majority of the methods in this class accept ReplicationType which represents a combination of SyncType, Mode, Local/Remote. This method accepts the supplied information and returns the corresponding ReplicationType, which can be passed to other methods to get the additional capabilities.
Syntax
uint32 ConvertSyncTypeToReplicationType(
[in] uint16 SyncType,
[in] uint16 Mode,
[in] uint16 LocalOrRemote,
[out] uint16 SupportedReplicationTypes
);
Parameters
-
SyncType [in]
-
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 [in]
Mode describes whether the target elements will be updated synchronously or asynchronously.
Synchronous (2)
Asynchronous (3)
DMTF Reserved
Vendor Specific
LocalOrRemote [in]
Copy to local or remote replica.
Local (2)
Remote (3)
DMTF Reserved
Vendor Specific
SupportedReplicationTypes [out]
A value representing the ReplicationType.
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 |
|
DLL |
|