次の方法で共有


GetSupportedCopyStates method of the CIM_ReplicationServiceCapabilities class

This method for a given ReplicationType returns the supported CopyStates and a parallel array to indicate for a given CopyState the target element is host accessible or not.

Syntax

uint32 GetSupportedCopyStates(
  [in]  uint16  ReplicationType,
  [out] uint16  SupportedCopyStates[],
  [out] boolean HostAccessible[]
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

SupportedCopyStates [out]

Supported Copy States.

HostAccessible [out]

A parallel array to SupportedCopyStates[] to indicate whether in that CopyState the target element is host accessible or not (true or false)

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