TranslationJob.IsServiceEnabled method
Determines if the translation service is enabled in the given service context.
Namespace: Microsoft.Office.TranslationServices
Assembly: Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)
Syntax
'Declaration
Public Shared Function IsServiceEnabled ( _
context As SPServiceContext _
) As Boolean
'Usage
Dim context As SPServiceContext
Dim returnValue As Boolean
returnValue = TranslationJob.IsServiceEnabled(context)
public static bool IsServiceEnabled(
SPServiceContext context
)
Parameters
context
Type: Microsoft.SharePoint.SPServiceContextThe SPServiceContext for which to check availability of the service.
Return value
Type: System.Boolean
true if the service can be used; otherwise, false.