TranslationServiceProxy.FindProxy method (SPFarm, Guid)
Finds a service application proxy in the specified farm with the referenced ID.
Namespace: Microsoft.Office.TranslationServices
Assembly: Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)
Syntax
'Declaration
Public Shared Function FindProxy ( _
farm As SPFarm, _
proxyId As Guid _
) As TranslationServiceApplicationProxy
'Usage
Dim farm As SPFarm
Dim proxyId As Guid
Dim returnValue As TranslationServiceApplicationProxy
returnValue = TranslationServiceProxy.FindProxy(farm, _
proxyId)
public static TranslationServiceApplicationProxy FindProxy(
SPFarm farm,
Guid proxyId
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmFarm the proxy belongs to.
proxyId
Type: System.GuidID of the service application proxy.
Return value
Type: Microsoft.Office.TranslationServices.TranslationServiceApplicationProxy
A TranslationServiceApplicationProxy object if found or a null reference (Nothing in Visual Basic) if not found.