SPDatabase.DatabaseConnectionString property
會取得用來連線至資料庫的連線字串。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property DatabaseConnectionString As String
Get
'用途
Dim instance As SPDatabase
Dim value As String
value = instance.DatabaseConnectionString
public string DatabaseConnectionString { get; }
Property value
Type: System.String
字串,包含連接字串。