GetSupportedOperations method of the MSFT_ReplicationCapabilities class

Returns, for a given ReplicationType, the supported operations on a storage synchronized association that can be supplied to the ModifyReplicaSynchronization operation.

Syntax

UInt32 GetSupportedOperations(
  [in]  UInt16 ReplicationType,
  [out] UInt16 SupportedOperations[],
  [out] String ExtendedStatus
);

Parameters

ReplicationType [in]

A value representing the replication type. This must be in the enumeration MSFT_ReplicationCapabilities.SupportedReplicationTypes.

SupportedOperations [out]

An array of supported operations.

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)

Prepare (24)

Reset To Adaptive (25)

DMTF Reserved (..)

Vendor Specific (0x8000..0xFFFF)

ExtendedStatus [out]

A string that contains an embedded MSFT_StorageExtendedStatus object.

This parameter allows the storage provider to return extended (implementation-specific) error information.

Return value

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (..)

Vendor Specific (0x8000..)

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

MSFT_ReplicationCapabilities