This documentation is archived and is not being maintained.

ServerInstance Class

The ServerInstance class represents an instance of Microsoft SQL Server.

Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public sealed class ServerInstance : WmiSmoObject
public final class ServerInstance extends WmiSmoObject
public final class ServerInstance extends WmiSmoObject

With the ServerInstance class you can:

  • Manage protocols and network libraries on an instance of SQL Server.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

To get or set ServerInstance object properties or run ServerInstance methods, users must be a member of the sysadmin fixed server role.

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms