DataPA Enterprise Dashboard Controls API Reference
Applies an Enterprise licence to the server.

Namespace: DataPAServerSecurity
Assembly: DataPAServerSecurity (in DataPAServerSecurity.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string ApplyEnterpriseLicense(
	string EnterpriseSerialNum,
	string EnterpriseRegCode,
	string EnterpriseRegUser,
	string EnterpriseRegOrganisation
)
Visual Basic
Public Function ApplyEnterpriseLicense ( 
	EnterpriseSerialNum As String,
	EnterpriseRegCode As String,
	EnterpriseRegUser As String,
	EnterpriseRegOrganisation As String
) As String
Visual C++
public:
virtual String^ ApplyEnterpriseLicense(
	String^ EnterpriseSerialNum, 
	String^ EnterpriseRegCode, 
	String^ EnterpriseRegUser, 
	String^ EnterpriseRegOrganisation
) sealed

Parameters

EnterpriseSerialNum
Type: System..::..String
The Enterprise Serial Number.
EnterpriseRegCode
Type: System..::..String
The Enterprise license code.
EnterpriseRegUser
Type: System..::..String
The user that the Enterprise license is licensed to.
EnterpriseRegOrganisation
Type: System..::..String
The organisation that the Enterprise license is licensed to.

Return Value

Type: String
A string containing any error messages raised during the application of the license. This will be blank if the apllicaiton succeeded.

Remarks