次の方法で共有


GetSupportedOperations method of the CIM_ReplicationServiceCapabilities class

This method for a given ReplicationType returns the supported Operations on a StorageSynchronized association that can be supplied to the ModifyReplicaSynchronization method.

Syntax

uint32 GetSupportedOperations(
  [in]  uint16 ReplicationType,
  [out] uint16 SupportedOperations[]
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

SupportedOperations [out]

An array of Supported Operations.

Abort: Abort the copy operation if it is possible. Activate Consistency: Ensure all target elements of a group are consistent.

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

AddSyncPair: Add elements associated via StorageSynchronized to source and target groups.

Deactivate Consistency: Disable consistency.

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.

RemoveSyncPair: Remove pair of source and target elements from the source/target groups.

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 whether 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)

Activate Consistency (3)

Activate (4)

AddSyncPair (5)

Deactivate Consistency (6)

Deactivate (7)

Detach (8)

Dissolve (9)

Failover (10)

Failback (11)

Fracture (12)

RemoveSyncPair (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