次の方法で共有


GetSupportedSettingsDefineStateOperations method of the CIM_ReplicationServiceCapabilities class

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

Syntax

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

Parameters

ReplicationType [in]

A value representing the ReplicationType.

SupportedOperations [out]

An array of supported Operations. /nActivate Consistency: Enable consistency Deactivate Consistency: Disable consistency Delete: Remove the SettingsDefineState association. Instance of SynchronizationAspect may also be deleted if it is not shared with other elements. Copy To Target: Introduces the target elements and forms the necessary associations between the source and the target elements i.e. StorageSynchronized and GroupSynchronized.

Activate Consistency (2)

Deactivate Consistency (3)

Delete (4)

Copy To Target (5)

DMTF Reserved

6 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