共用方式為


SPAdministrationWebApplication.Local Property

Gets the current instance of the administration Web application from the local server farm.

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

Syntax

'Declaration
Public Shared ReadOnly Property Local As SPAdministrationWebApplication
    Get
'Usage
Dim value As SPAdministrationWebApplication

value = SPAdministrationWebApplication.Local
public static SPAdministrationWebApplication Local { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPAdministrationWebApplication
An SPAdministrationWebApplication object that represents the administration Web application.

See Also

Reference

SPAdministrationWebApplication Class

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace