SPUsageApplicationProxy.GetProxy Method
Retrieves the default proxy application from the specified service context.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetProxy ( _
serviceContext As SPServiceContext _
) As SPUsageApplicationProxy
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As SPUsageApplicationProxy
returnValue = SPUsageApplicationProxy.GetProxy(serviceContext)
public static SPUsageApplicationProxy GetProxy(
SPServiceContext serviceContext
)
Parameters
serviceContext
Type: Microsoft.SharePoint.SPServiceContextRepresents the context of the service request.
Return Value
Type: Microsoft.SharePoint.Administration.SPUsageApplicationProxy
The SPUsageApplicationProxy object of this application.