GetSupportedWaitForCopyStates method of the MSISCSITARGET_ReplicationServiceCapabilities class
Retrieves the copy states that are valid in the WaitForCopyState parameter of the specified method for a specified replication type.
This method is inherited from the CIM_ReplicationServiceCapabilities class.
Syntax
uint32 GetSupportedWaitForCopyStates(
[in] uint16 ReplicationType,
[in] uint16 MethodName,
[out] uint16 SupportedCopyStates[]
);
Parameters
-
ReplicationType [in]
-
Specifies the replication type.
The MSISCSITARGET_ReplicationServiceCapabilities.SupportedReplicationTypes property values are.
-
Synchronous Mirror Local (2)
-
Asynchronous Mirror Local (3)
-
Synchronous Mirror Remote (4)
-
Asynchronous Mirror Remote (5)
-
Synchronous Snapshot Local (6)
-
Asynchronous Snapshot Local (7)
-
Synchronous Snapshot Remote (8)
-
Asynchronous Snapshot Remote (9)
-
Synchronous Clone Local (10)
-
Asynchronous Clone Local (11)
-
Synchronous Clone Remote (12)
-
Asynchronous Clone Remote (13)
-
DMTF Reserved
- 14 0x7FFF
-
Vendor Specific
- 0x8000 = *value*
MethodName [in]
Specifies the method name.
The possible values are.
CreateElementReplica (2)
CreateGroupReplica (3)
ModifyReplicaSynchronization (4)
ModifyListSynchronization (5)
ModifySettingsDefineState (6)
DMTF Reserved
Vendor Specific
SupportedCopyStates [out]
On return, contains the list of supported copy states.
The CIM_Synchronized.CopyState property values are.
Initialized (2)
Unsynchronized (3)
Synchronized (4)
Broken (5)
Fractured (6)
Split (7)
Inactive (8)
Suspended (9)
Failedover (10)
Prepared (11)
Aborted (12)
Skewed (13)
Mixed (14)
Not Applicable (15)
Partitioned (16)
Invalid (17)
DMTF Reserved
Vendor Specific
Return value
This method returns one of the following values.
-
Success (0)
-
Not Supported (1)
-
Unknown (2)
-
Timeout (3)
-
Failed (4)
-
Invalid Parameter (5)
-
In Use (6)
-
DMTF Reserved (7 0x7FFF)
-
Vendor Specific (0x8000 = value )
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|