次の方法で共有


GetSupportedListOperations method of the CIM_ReplicationServiceCapabilities class

This method for a given ReplicationType returns the supported Operations on a list of StorageSynchronized or GroupSynchronized associations that can be supplied to the ModifyListSynchronization method.

Syntax

uint32 GetSupportedListOperations(
  [in]  uint16 ReplicationType,
  [in]  uint16 SynchronizationType,
  [out] uint16 SupportedListOperations[]
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

SynchronizationType [in]

Specifies the supported operations as they apply to a list of StorageSynchronized or GroupSynchronized. If this parameter is not specified, StorageSynchronized is assumed.

StorageSynchronized (2)

GroupSynchronized (3)

DMTF Reserved

4 32767

Vendor Specific

32768 65535

SupportedListOperations [out]

An array of Supported group Operations. Abort: Abort the copy operation if it is possible.

Activate: Activate an inactive or prepared source and target association.

Deactivate: Deactivate a source and target association. The writes to the target are deleted in the case of a snapshot.

Detach: Remove the association between source and target.

Dissolve: Dissolve the synchronization between two storage objects, however, the target element continues to exist.

Failover: Switch to target element instead of source.

Failback: Reverses the effects of failover.

Fracture: Separate target element from source element.

Resync Replica: Synchronize a fractured/split source and target elements.

Restore from Replica: Copy data from a fractured target back to source.

Resume: Continue an association that was suspended.

Reset To Sync: Change mode to synchronous.

Reset To Async: Change mode to asynchronous.

Reverse Roles: Make target the source and source the target.

Return To ResourcePool: Applies to Snapshot -- delete the target element and its replication association.

Split: Similar to Fracture, however, the provider needs to make sure wether there are pending I/O in transit before fracturing the connection.

Suspend: Stop the copy operations to the target element.

Continue when the operations is resumed.

Unprepare: Causes the synchronization to be reinitialized and stop in Prepared state.

Abort (2)

DMTF Reserved (3)

Activate (4)

DMTF Reserved (5)

DMTF Reserved (6)

Deactivate (7)

Detach (8)

Dissolve (9)

Failover (10)

Failback (11)

Fracture (12)

DMTF Reserved (13)

Resync Replica (14)

Restore from Replica (15)

Resume (16)

Reset To Sync (17)

Reset To Async (18)

Return To ResourcePool (19)

Reverse Roles (20)

Split (21)

Suspend (22)

Unprepare (23)

DMTF Reserved

24 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