Partilhar 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