共用方式為


SPWebApplication.DefaultServerComment Property

Gets the server comment that is associated with the IIS Web site for use when a comment is not specified by the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultServerComment As String
    Get
'Usage
Dim instance As SPWebApplication
Dim value As String

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

Property Value

Type: System.String
A string that contains the comment.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace