IJob::put_SoftwareLicense method

Sets the required licenses.

Syntax

HRESULT put_SoftwareLicense(
  [in] BSTR Val
);

Parameters

  • Val [in]
    The required licenses. The format is string:integer{,string:integer}, where each string is the name of an application and each integer represents how many licenses for the application are required.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

The name of the application must match the license feature name.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob

IJob::get_SoftwareLicense