Server Property
The Server property of the SqlConnectionString class gets the value of the Data Source or Server arguments from the connection string.
Property Value
The Data Source or Server arguments of the connection string, including the instance name, if any, in the following format: Server_name\Instance_name.
Remarks
The properties of the SqlConnectionString correspond to the name/value pairs that constitute a .NET Framework Data Provider for SQL Server connection string.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security