Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Introduces a new instance of SharedSecret in the specified namespace and optionally associates it to an instance of a ServiceAccessPoint.
Syntax
uint32 AddSharedSecret(
[in] string SharedSecret,
[in] CIM_ServiceAccessPoint REF ServiceAccessPoint,
[in] string InstanceNamespace,
[out] CIM_SharedSecret REF SharedSecretPath
);
Parameters
-
SharedSecret [in]
-
Specifies an embedded CIM_SharedSecret instance that specifies properties for the created instance. Required.
-
ServiceAccessPoint [in]
-
Associate created instance to this ServiceAccessPoint. If null, no such association is established.
-
InstanceNamespace [in]
-
Namespace of created instance. If null, created instance will be in the same namespace as the the service.
-
SharedSecretPath [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 |
|
| DLL |
|
See also
-
CIM_ReplicationService