Share via


GetSupportedWaitForCopyStates method of the CIM_ReplicationServiceCapabilities class

This method, for a given ReplicationType and method, returns the supported CopyStates that can be specified in the method's WaitForCopyState parameter.

Syntax

uint32 GetSupportedWaitForCopyStates(
  [in]  uint16 ReplicationType,
  [in]  uint16 MethodName,
  [out] uint16 SupportedCopyStates[]
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

MethodName [in]

A value representing the desired method name.

CreateElementReplica (2)

CreateGroupReplica (3)

ModifyReplicaSynchronization (4)

ModifyListSynchronization (5)

ModifySettingsDefineState (6)

DMTF Reserved

7 32767

Vendor Specific

32768 65535

SupportedCopyStates [out]

Supported Copy States.

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