LicenseManager.UsageMode Property

Definition

Gets the LicenseUsageMode which specifies when you can use the licensed object for the CurrentContext.

public:
 static property System::ComponentModel::LicenseUsageMode UsageMode { System::ComponentModel::LicenseUsageMode get(); };
public static System.ComponentModel.LicenseUsageMode UsageMode { get; }
static member UsageMode : System.ComponentModel.LicenseUsageMode
Public Shared ReadOnly Property UsageMode As LicenseUsageMode

Property Value

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

Remarks

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

Applies to

See also