SPUsageApplicationProxy.GetProxy method
會從指定的服務內容擷取的預設 proxy 應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetProxy ( _
serviceContext As SPServiceContext _
) As SPUsageApplicationProxy
'用途
Dim serviceContext As SPServiceContext
Dim returnValue As SPUsageApplicationProxy
returnValue = SPUsageApplicationProxy.GetProxy(serviceContext)
public static SPUsageApplicationProxy GetProxy(
SPServiceContext serviceContext
)
參數
serviceContext
Type: Microsoft.SharePoint.SPServiceContext代表服務要求的內容。
傳回值
Type: Microsoft.SharePoint.Administration.SPUsageApplicationProxy
此應用程式的SPUsageApplicationProxy物件。