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
- farm
Type: Microsoft.SharePoint.Administration.SPFarm
Return value
Type: Microsoft.Office.Server.Administration.StateService