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()

请参阅

参考

ManagedInstance 类

Microsoft.SqlServer.Management.Utility 命名空间