Share via


TranslationServiceProxy.FindProxy method (SPFarm, String)

Find a service application proxy in the specified farm with the referenced name.

Namespace:  Microsoft.Office.TranslationServices
Assembly:  Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)

Syntax

'Declaration
Public Shared Function FindProxy ( _
    farm As SPFarm, _
    proxyName As String _
) As TranslationServiceApplicationProxy
'Usage
Dim farm As SPFarm
Dim proxyName As String
Dim returnValue As TranslationServiceApplicationProxy

returnValue = TranslationServiceProxy.FindProxy(farm, _
    proxyName)
public static TranslationServiceApplicationProxy FindProxy(
    SPFarm farm,
    string proxyName
)

Parameters

  • proxyName
    Type: System.String

    Name 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.

See also

Reference

TranslationServiceProxy class

TranslationServiceProxy members

FindProxy overload

Microsoft.Office.TranslationServices namespace