Share via


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

Return value

Type: System.Boolean
true if the service can be used; otherwise, false.

See also

Reference

TranslationJob class

TranslationJob members

Microsoft.Office.TranslationServices namespace