指定したオブジェクトの現在の LicenseContext を変更できないようにします。
Public Shared Sub LockContext( _
ByVal contextUser As Object _)
[C#]
public static void LockContext(objectcontextUser);
[C++]
public: static void LockContext(Object* contextUser);
[JScript]
public static function LockContext(
contextUser : Object);
パラメータ
- contextUser
現在のコンテキストをロックする対象のオブジェクト。
解説
オブジェクトの License を取得するには、 LicenseContext を使用します。このメソッドは、 LicenseContext をロックして、 License が取得されないようにします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
LicenseManager クラス | LicenseManager メンバ | System.ComponentModel 名前空間