次の方法で共有


AddServiceAccessPoint method of the MSISCSITARGET_ReplicationService class

Introduces a new instance of a CIM_ServiceAccessPoint class or one of its subclasses.

This method is inherited from the CIM_ReplicationService class.

Syntax

uint32 AddServiceAccessPoint(
  [in]           string                     ServiceAccessPoint,
  [in, optional] 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, optional]

Specifies the namespace of the created instance. If NULL, the created instance is in the same namespace as the service.

ServiceAccessPointPath [out]

On return, contains a reference to the created instance.

Return value

This method returns one of the following values.

Completed with No Error (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 )x7FFF)

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_ReplicationService

CIM_ServiceAccessPoint