Partilhar via


ContentDatabaseSection.ConnectionString Property

Gets or sets the Microsoft SQL Server database connection string displayed by the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property ConnectionString As String
    Get
    Set
'Usage
Dim instance As ContentDatabaseSection
Dim value As String

value = instance.ConnectionString

instance.ConnectionString = value
public string ConnectionString { get; set; }

Property Value

Type: System.String
The Microsoft SQL Server database connection string displayed by the control.

See Also

Reference

ContentDatabaseSection Class

ContentDatabaseSection Members

Microsoft.SharePoint.WebControls Namespace