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
farm
Type: Microsoft.SharePoint.Administration.SPFarmFarm the proxy belongs to.
proxyName
Type: System.StringName 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.