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)
Available in Sandboxed Solutions: No
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
farm
Type: Microsoft.SharePoint.Administration.SPFarmAn SPFarm object that represents the server farm.
Return Value
Type: Microsoft.SharePoint.Administration.SPAdministrationWebApplication
An SPAdministrationWebApplication object that represents the administration Web application.
See Also
Reference
SPAdministrationWebApplication Class