共用方式為


SPContentDatabase.Server property

取得包含的內容資料庫的資料庫伺服器的名稱。

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

Syntax

'宣告
Public ReadOnly Property Server As String
    Get
'用途
Dim instance As SPContentDatabase
Dim value As String

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

Property value

Type: System.String
字串,包含伺服器的名稱。

請參閱

參照

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace