Partager via


GetSynchronizationSupported method of the MSISCSITARGET_ReplicationServiceCapabilities class

Retrieves the supported synchronization operations for the specified element.

This method is inherited from the CIM_ReplicationServiceCapabilities class.

Syntax

uint32 GetSynchronizationSupported(
  [in]           CIM_LogicalElement Ref     LocalElement,
  [in, optional] CIM_LogicalElement Ref     OtherElement,
  [in]           CIM_ServiceAccessPoint Ref OtherElementAccessPoint,
  [in]           uint16                     MethodName,
  [out]          uint16                     SyncTypes[],
  [out]          uint16                     Modes[],
  [out]          uint16                     LocalElementRole[]
);

Parameters

LocalElement [in]

Specifies the local element in the synchronization association.

OtherElement [in, optional]

Specifies the other end of the synchronization association. This element can be local or remote.

OtherElementAccessPoint [in]

Specifies the service access point (SAP) instance that is used to enable access to the element referenced in the OtherElement parameter. Can be NULL if a service access point is not required to access the element.

MethodName [in]

Specifies the requested method name.

The possible values are.

CreateElementReplica (2)

CreateGroupReplica (3)

CreateSynchronizationAspect (4)

DMTF Reserved

9 0x7FFF

Vendor Specific

0x8000 = *value*

SyncTypes [out]

On return, contains the supported sync types that are available for the supplied element.

The possible values are.

DMTF Reserved

*value* = 5

Mirror (6)

Snapshot (7)

Clone (8)

DMTF Reserved

9 0x7FFF

Vendor Specific

0x8000 = *value*

Modes [out]

On return, contains the supported modes that are available for the supplied element.

The possible values are.

Synchronous (2)

Asynchronous (3)

DMTF Reserved

4 0x7FFF

Vendor Specific

0x8000 = *value*

LocalElementRole [out]

On return, indicates whether the local element can be the source or the target element of the copy operations. These values correspond to the key properties of a MSISCSITARGET_StorageSynchronized association.

The possible values are.

SystemElement (2)

SyncedElement (3)

DMTF Reserved

4 0x7FFF

Vendor Specific

0x8000 = *value*

Return value

This method returns one of the following values.

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 0x7FFF)

Vendor Specific (0x8000 = value )

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

MSISCSITARGET_ReplicationServiceCapabilities

MSISCSITARGET_ReplicationService