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

Return value

Type: Microsoft.SharePoint.Administration.SPUsageApplicationProxy
The SPUsageApplicationProxy object of this application.

See also

Reference

SPUsageApplicationProxy class

SPUsageApplicationProxy members

Microsoft.SharePoint.Administration namespace