Share via


SqlConnectionString Property

The SqlConnectionString property of the Database class gets the connection string for the specified Database object.

Property Value

An instance of the SqlConnectionString class that contains the .Net Framework Data Provider for SQL Server connection string, consisting of server name (and instance name, if applicable), database name, and logon credentials.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security