共用方式為


SPWebApplication.TypeName Property

Gets a string that indicates the type of object of the Web application.

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

Syntax

'Declaration
Public Overrides ReadOnly Property TypeName As String
    Get
'Usage
Dim instance As SPWebApplication
Dim value As String

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

Property Value

Type: System.String
A string that indicates the type of object, which is "Web Application".

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace