Partager via


VisualStudio11Sku.IsPremiumOrUltimate Method

Returns true if the currently executing Visual Studio SKU is Premium or Ultimate.

Must be called on the main thread.

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public Shared Function IsPremiumOrUltimate ( _
    serviceProvider As IServiceProvider _
) As Boolean
public static bool IsPremiumOrUltimate(
    IServiceProvider serviceProvider
)
public:
static bool IsPremiumOrUltimate(
    IServiceProvider^ serviceProvider
)
static member IsPremiumOrUltimate : 
        serviceProvider:IServiceProvider -> bool
public static function IsPremiumOrUltimate(
    serviceProvider : IServiceProvider
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

VisualStudio11Sku Class

Microsoft.VisualStudio.TeamFoundation Namespace