VisualStudio11Sku.IsPro Method
Returns true if the currently executing Visual Studio SKU is Professional.
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 IsPro ( _
serviceProvider As IServiceProvider _
) As Boolean
public static bool IsPro(
IServiceProvider serviceProvider
)
public:
static bool IsPro(
IServiceProvider^ serviceProvider
)
static member IsPro :
serviceProvider:IServiceProvider -> bool
public static function IsPro(
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.