GetReplicationRelationshipInstances method of the MSISCSITARGET_ReplicationService class
Gets or starts a job to get all of the specified synchronization relationships that are available to the processing replication service.
This method is inherited from the CIM_ReplicationService class.
Syntax
uint32 GetReplicationRelationshipInstances(
[in, optional] uint16 Type,
[in, optional] uint16 SyncType,
[in, optional] uint16 Mode,
[in, optional] uint16 Locality,
[in, optional] uint16 CopyState,
[out] CIM_ConcreteJob Ref Job,
[out] string Synchronizations[]
);
Parameters
-
Type [in, optional]
-
Specifies the type of synchronization relationships to retrieve. If NULL, all types of relationships are retrieved.
The possible values are.
-
StorageSynchronized (2)
-
GroupSynchronized (3)
-
DMTF Reserved
- 4 0x7FFF
-
Vendor Specific
- 0x8000 = *value*
SyncType [in, optional]
Specifies the synchronization type to retrieve. If NULL, all types are retrieved.
The possible values are.
DMTF Reserved
Mirror (6)
Snapshot (7)
Clone (8)
DMTF Reserved
Vendor Specific
Mode [in, optional]
Specifies the mode to retrieve. If NULL, all modes are retrieved.
The possible values are.
Synchronous (2)
Asynchronous (3)
DMTF Reserved
Vendor Specific
Locality [in, optional]
Specifies the locality of elements to retrieve. If NULL, replication relationships are retrieved regardless of the locality of elements.
Local only (2)
Source and target elements are contained in the same system.
Remote only (3)
Source and target elements are contained in two different systems.
DMTF Reserved
Reserved.
Vendor Specific
Reserved.
CopyState [in, optional]
Specifies the CIM_Synchronized.CopyState property value to retrieve. If NULL, relationships are retrieved regardless of their CopyState property.
Job [out]
On return, contains a reference to the job, which can be NULL, if the job is completed.
Synchronizations [out]
On return, contains the instances that are found in the form of a CIM_Synchronized embedded instance.
Return value
This method returns one of the following values.
-
Completed with No Error (0)
-
Not Supported (1)
-
Unknown (2)
-
Timeout (3)
-
Failed (4)
-
Invalid Parameter (5)
-
In Use (6)
-
DMTF Reserved (7 4095)
-
Method Parameters Checked - Job Started (4096)
-
Method Reserved (4097 32767)
-
Vendor Specific (0x8000 = value )
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|