del método SessionStateService.GetService
Obtiene el valor predeterminado de SessionStateService para un conjunto de servidores y produce una excepción en caso de error.
Espacio de nombres: Microsoft.Office.Server.Administration
Ensamblado: Microsoft.Office.Server (en Microsoft.Office.Server.dll)
Sintaxis
'Declaración
Public Shared Function GetService ( _
farm As SPFarm _
) As SessionStateService
'Uso
Dim farm As SPFarm
Dim returnValue As SessionStateService
returnValue = SessionStateService.GetService(farm)
public static SessionStateService GetService(
SPFarm farm
)
Parámetros
- farm
Tipo: Microsoft.SharePoint.Administration.SPFarm
Valor devuelto
Tipo: Microsoft.Office.Server.Administration.SessionStateService
Devuelve SessionStateService.