Share via


GetDefaultReplicationSettingData method of the CIM_ReplicationServiceCapabilities class

This method for a given ReplicationType returns the default ReplicationSettingData as an instance.

Syntax

uint32 GetDefaultReplicationSettingData(
  [in]  uint16 ReplicationType,
  [out] string DefaultInstance
);

Parameters

ReplicationType [in]

A value representing the ReplicationType.

DefaultInstance [out]

A copy of the instance this populated with default values for the given ReplicationType.

Return value

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

No default ReplicationSettingData (7)

DMTF Reserved (8 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