Gets or sets a value that indicates whether the Configuration Manager console allows a single instance of the executable. Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ExecutableDescription
Dim value As Boolean

value = instance.SingleInstance

instance.SingleInstance = value

Syntax

Visual Basic
<XmlAttributeAttribute("SingleInstance")> _
<DefaultValueAttribute(False)> _
Public Property SingleInstance As Boolean
C#
[XmlAttributeAttribute("SingleInstance")] 
[DefaultValueAttribute(false)] 
public bool SingleInstance { get; set; }
C++
[XmlAttributeAttribute(L"SingleInstance")] 
[DefaultValueAttribute(false)] 
public:
property bool SingleInstance {
		bool get ();
		void set (bool value);
}
J#
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public boolean get_SingleInstance ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_SingleInstance (boolean value)
JScript
DebuggerStepThroughAttribute 
public function get SingleInstance () : boolean

DebuggerStepThroughAttribute 
public function set SingleInstance (value : boolean)

Property Value

true if the console allows a single instance of the executable and disables the menu item until the run operation has completed; false if the console allows multiple instances of the executable.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also