CreateReplicationBuffer method of the MSISCSITARGET_StorageConfigurationService class

Creates a replication buffer that buffers asynchronous write operations for remote mirror pairs. The buffer is a CIM_Memory instance with an CIM_AssociatedMemory association to a hosting system or replication network pipe.

This method is inherited from the CIM_StorageConfigurationService class.

Syntax

uint32 CreateReplicationBuffer(
  [out] CIM_ConcreteJob Ref    Job,
  [in]  CIM_ManagedElement Ref Host,
  [in]  CIM_StorageExtent Ref  TargetElement,
  [in]  CIM_StoragePool Ref    TargetPool,
  [out] CIM_Memory Ref         ReplicaBuffer
);

Parameters

Job [out]

On return contains a reference to the job, if a job is created and not completed.

Host [in]

Specifies the hosting system or replication pipe that is the parent of the created buffer.

TargetElement [in]

Specifies a component extent for the buffer element.

TargetPool [in]

Specifies a container pool for the buffer element.

ReplicaBuffer [out]

On return, contains a reference to the created replica buffer element.

Return value

This method returns one of the following values.

Job Completed with No Error (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 0x0FFF)

Method Parameters Checked - Job Started (0x1000)

Method Reserved (0x1001 0x7FFF)

Vendor Specific (0x8000 0xFFFF)

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_StorageConfigurationService