共用方式為


SPDatabase.LegacyDatabaseConnectionString property

取得包含 OLEDB 連線字串的字串。

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

Syntax

'宣告
Public ReadOnly Property LegacyDatabaseConnectionString As String
    Get
'用途
Dim instance As SPDatabase
Dim value As String

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

Property value

Type: System.String
String
用來連線至資料庫連線字串。

請參閱

參照

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace