Share via


SPDatabase.LegacyDatabaseConnectionString property

Gets a string that contains the OLEDB connection string.

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

Syntax

'Declaration
Public ReadOnly Property LegacyDatabaseConnectionString As String
    Get
'Usage
Dim instance As SPDatabase
Dim value As String

value = instance.LegacyDatabaseConnectionString
public string LegacyDatabaseConnectionString { get; }

Property value

Type: System.String
String
The connection string that is used to connect to the database.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace