Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AddLicense
Windows Management Instrumentation (WMI) class method, in Configuration Manager, adds license information to an application deployment type.
Syntax
sint32 AddLicense (
[in] string LicenseID,
[in] string LicenseBlob,
[in] string ModelName
);
Parameters
LicenseID
Data type: String
Qualifiers: [in]
The ID of the license.
LicenseBlob
Data type: String
Qualifiers: [in]
The license blob.
ModelName
Data type: String
Qualifiers: [in]
The model name of the deployment type.
Return Values
An SInt32
data type that is 0 to indicate success or non-zero to indicate failure.
For more information about handling returned errors, see About Configuration Manager Errors.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.