共用方式為


SPWebApplication.DisplayName property

取得可用來描述的 Web 應用程式的易記名稱。

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

Syntax

'宣告
Public Overrides ReadOnly Property DisplayName As String
    Get
'用途
Dim instance As SPWebApplication
Dim value As String

value = instance.DisplayName
public override string DisplayName { get; }

Property value

Type: System.String
String
易記的名稱。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace