GetSynchronizationSupported method of the CIM_ReplicationServiceCapabilities class
For the supplied element, this method returns the supported synchronization operations in a series of parallel output arrays.
Syntax
uint32 GetSynchronizationSupported(
[in] CIM_LogicalElement REF LocalElement,
[in] CIM_LogicalElement REF OtherElement,
[in] CIM_ServiceAccessPoint REF OtherElementAccessPoint,
[in] uint16 MethodName,
[out] uint16 SyncTypes[],
[out] uint16 Modes[],
[out] uint16 LocalElementRole[]
);
Parameters
-
LocalElement [in]
-
A reference to the supplied element.
-
OtherElement [in]
-
A reference to the other end of the synchronization association. OtherElement can be a local or a remote element. Method CreateSynchronizationAspect needs only one element to act on. Therefore there is no need to specify another element.
-
OtherElementAccessPoint [in]
-
A reference to the access point instance to allow the service to access the OtherElement. If NULL, it is assumed the service does not need any access information or the element is local.
-
MethodName [in]
-
A value representing the desired method name.
-
CreateElementReplica (2)
-
CreateGroupReplica (3)
-
CreateSynchronizationAspect (4)
-
DMTF Reserved
- 5 32767
-
Vendor Specific
- 32768 65535
SyncTypes [out]
A array of supported SyncTypes for the copy operations using the supplied element.
Mirror (6)
Snapshot (7)
Clone (8)
DMTF Reserved
Vendor Specific
Modes [out]
An array of supported Modes for the copy operations using the supplied element.
Synchronous (2)
Asynchronous (3)
DMTF Reserved
Vendor Specific
LocalElementRole [out]
An array that specifies whether the local element can be the source or the target element of the copy operations. Possible values are:
SystemElement: the source element.
SyncedElement: the target element.
These designations correspond to the keys of the Synchronized association.
SystemElement (2)
SyncedElement (3)
DMTF Reserved
Vendor Specific
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 |
|