Share via


SPDatabaseSnapshot.ConnectionString property

Gets the connection string to the database snapshot of the database.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ConnectionString As SqlConnectionStringBuilder
    Get
'Usage
Dim instance As SPDatabaseSnapshot
Dim value As SqlConnectionStringBuilder

value = instance.ConnectionString
public SqlConnectionStringBuilder ConnectionString { get; }

Property value

Type: System.Data.SqlClient.SqlConnectionStringBuilder
The connection string.

See also

Reference

SPDatabaseSnapshot class

SPDatabaseSnapshot members

Microsoft.SharePoint.Administration.Backup namespace