共用方式為


SPWebApplication.DefaultServerComment property

取得與相關聯的 Iis 網站,使用註解不指定 Web 應用程式時的伺服器註解。

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

Syntax

'宣告
Public Overridable ReadOnly Property DefaultServerComment As String
    Get
'用途
Dim instance As SPWebApplication
Dim value As String

value = instance.DefaultServerComment
public virtual string DefaultServerComment { get; }

Property value

Type: System.String
字串,包含註解。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace