SPDatabaseServiceInstance.NormalizedDataSource property
會取得資料庫伺服器和資料庫伺服器執行個體的名稱。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property NormalizedDataSource As String
Get
'用途
Dim instance As SPDatabaseServiceInstance
Dim value As String
value = instance.NormalizedDataSource
public string NormalizedDataSource { get; }
Property value
Type: System.String
內含 \ 執行個體格式,例如MyServer\Microsoft##SSEE的資料庫伺服器和執行個體名稱的字串。
請參閱
參照
SPDatabaseServiceInstance class