SPUsageApplicationProxy.GetProxy method
Retrieves the default proxy application from the specified service context.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.