共用方式為


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
管理伺服器