XdsObjects Help file
XdsObjects Namespace / XdsLicense Class / GetLicense Method / GetLicense() Method



GetLicense() Method
Allow XdsObjects to select a license
Syntax
Public Overloads Shared Function GetLicense() As XdsLicense
Dim value As XdsLicense
 
value = XdsLicense.GetLicense()
public static XdsLicense GetLicense()
public:
static XdsLicense^ GetLicense(); 

Return Value

A XdsLicense object
Remarks
When this method is used (either explicitly, or implicitly via use of licensed functionality or getting the CurrentLicense property before choosing a license), the XdsObjects will select the first XdsObjects.Enums.LicenseTypes.Full license available in the InstalledLicenses collection, or failing that a XdsObjects.Enums.LicenseTypes.Developer license.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also