ManagedInstance 建構函式
Initializes a new instance of the ManagedInstance class.
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Public Sub New
'用途
Dim instance As New ManagedInstance()
public ManagedInstance()
public:
ManagedInstance()
new : unit -> ManagedInstance
public function ManagedInstance()
備註
The default constructor initializes any fields to their default values.
範例
VC#
ManagedInstance managedInstance;
managedInstance = new ManagedInstance();
VB
Dim managedInstance As ManagedInstance
managedInstance = New ManagedInstance()
PowerShell
$ManagedInstance = New-Object Microsoft.SqlServer.Management.Utility.ManagedInstance()