IInstalledExtension.InstalledPerMachine Property
Specifies whether the extension is installed on a per-machine basis.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣言
ReadOnly Property InstalledPerMachine As Boolean
bool InstalledPerMachine { get; }
property bool InstalledPerMachine {
bool get ();
}
abstract InstalledPerMachine : bool
function get InstalledPerMachine () : boolean
Property Value
Type: System.Boolean
true if the extension is installed on a per-machine basis; otherwise, false.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
If an extension is installed on a per-machine basis, all users of that computer have access to the extension. Otherwise, it is available only to the user who installed it.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.