CreateLicense method 
Adds a license to the site.  
Syntax
 
C++
HRESULT 
 CreateLicense( 
   BSTR LicenseKey,  
   IERULicense** ppRetVal) 
Scripting languages
Set 
 License = Object.CreateLicense( 
   LicenseKey as String) |  
 
Parameters
 
LicenseKey 
The string of characters that uniquely identify the license. 
  
ppRetVal 
Upon return, contains the created License. 
  
Return value
 
C++
The return code.  | 
Scripting languages
Upon return, contains the created License. 
   |  
  | 
 Home 
 
Applies to 
IERULicenseManager  |