Share via


ManagedInstance Constructor

Initializes a new instance of the ManagedInstance class.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New ManagedInstance()
public ManagedInstance()
public:
ManagedInstance()
new : unit -> ManagedInstance
public function ManagedInstance()

Remarks

The default constructor initializes any fields to their default values.

Examples

VC#

ManagedInstance managedInstance;
managedInstance = new ManagedInstance();

VB

Dim managedInstance As ManagedInstance
managedInstance = New ManagedInstance()

PowerShell

$ManagedInstance = New-Object Microsoft.SqlServer.Management.Utility.ManagedInstance()