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.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
machineName As String _
)
public ManagedComputer (
string machineName
)
public:
ManagedComputer (
String^ machineName
)
public ManagedComputer (
String machineName
)
public function ManagedComputer (
machineName : String
)
Parameters
- machineName
A String value that specifies the name of the computer.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ManagedComputer Class
ManagedComputer Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace
Other Resources
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connecting to the SQL Server Database Engine