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!

LicenseContext.UsageMode

When overridden in a derived class, gets a value that specifies when a license can be used.

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

Property Value

One of the LicenseUsageMode values that specifies when a license can be used.

Remarks

As implemented in this class, this property returns the LicenseUsageMode Runtime.

Notes to Inheritors: To implement design-time support, override this property in an inheriting class.

See Also

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