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

Return Value

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

See Also

Reference

SPUsageApplicationProxy Class

SPUsageApplicationProxy Members

Microsoft.SharePoint.Administration Namespace