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
- serviceProvider
Type: System.IServiceProvider
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.