Bagikan melalui


ManagedComputer Constructor (String)

Initializes a new instance of the ManagedComputer class with the specified computer name.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public Sub New ( _
    machineName As String _
)
'Usage
Dim machineName As String 

Dim instance As New ManagedComputer(machineName)
public ManagedComputer(
    string machineName
)
public:
ManagedComputer(
    String^ machineName
)
new : 
        machineName:string -> ManagedComputer
public function ManagedComputer(
    machineName : String
)

Parameters

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ManagedComputer Class

ManagedComputer Overload

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

Connecting to the SQL Server Database Engine