Share via


StateService.GetService method

Namespace:  Microsoft.Office.Server.Administration
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared Function GetService ( _
    farm As SPFarm _
) As StateService
'Usage
Dim farm As SPFarm
Dim returnValue As StateService

returnValue = StateService.GetService(farm)
public static StateService GetService(
    SPFarm farm
)

Parameters

Return value

Type: Microsoft.Office.Server.Administration.StateService

See also

Reference

StateService class

StateService members

Microsoft.Office.Server.Administration namespace