Share via


AddServiceAccessPoint method of the CIM_ReplicationService class

Introduces a new instance of a ServiceAccessPoint, or one of its subclasses, for example, a RemoteServiceAccessPoint in the specified namespace.

Syntax

uint32 AddServiceAccessPoint(
  [in]  string                     ServiceAccessPoint,
  [in]  string                     InstanceNamespace,
  [out] CIM_ServiceAccessPoint REF ServiceAccessPointPath
);

Parameters

ServiceAccessPoint [in]

Specifies an embedded CIM_ServiceAccessPoint instance that specifies the properties of the instance to create. Required.

InstanceNamespace [in]

Namespace of created instance. If null, created instance will be in the same namespace as the service.

ServiceAccessPointPath [out]

Reference to the created instance.

Return value

Completed with No Error (0)

Not Supported (1)

Unspecified Error (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_ReplicationService