Server Constructor

Initializes a new instance of the Server class.

备注

已更新的文本:

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Server ()
Initializes a new instance of the Server class.
Server (ServerConnection)
Initializes a new instance of the Server class based on the specified connection.
Server (String)
Initializes a new instance of the Server class with the specified name.

请参阅

参考

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

How to: Connect to the Local Instance of SQL Server by Using Windows Authentication in Visual Basic .NET
Connecting to an Instance of SQL Server
Disconnecting from an Instance of SQL Server
管理服务器