NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

LicenseManager.UsageMode

Gets the LicenseUsageMode that specifies when the licensed object can be used, for the CurrentContext.

[Visual Basic]
Public Shared ReadOnly Property UsageMode As LicenseUsageMode
[C#]
public static LicenseUsageMode UsageMode {get;}
[C++]
public: __property static LicenseUsageMode get_UsageMode();
[JScript]
public static function get UsageMode() : LicenseUsageMode;

Property Value

One of the LicenseUsageMode values, as specified in the CurrentContext.

Remarks

If this property cannot find a CurrentContext value, it returns Runtime.

See Also

LicenseManager Class | LicenseManager Members | System.ComponentModel Namespace | CurrentContext | License | LicenseContext | LicenseException | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode