StateService.TryGetService Method

Used by Microsoft Project 2010 to determine if the StateService has already been provisioned. For more information, contact us.

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


Public Shared Function TryGetService ( _
    farm As SPFarm _
) As StateService
Dim farm As SPFarm
Dim returnValue As StateService

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


Return Value

Type: Microsoft.Office.Server.Administration.StateService
Returns StateService.

See Also


StateService Class

StateService Members

Microsoft.Office.Server.Administration Namespace