Share via


SPAdministrationWebApplication.GetInstanceLocalToFarm method

Returns the administration Web application that is local to the server farm.

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

Syntax

'Declaration
Public Shared Function GetInstanceLocalToFarm ( _
    farm As SPFarm _
) As SPAdministrationWebApplication
'Usage
Dim farm As SPFarm
Dim returnValue As SPAdministrationWebApplication

returnValue = SPAdministrationWebApplication.GetInstanceLocalToFarm(farm)
public static SPAdministrationWebApplication GetInstanceLocalToFarm(
    SPFarm farm
)

Parameters

Return 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