Share via


VisualStudio11Sku.GetSku Method

Returns the currently executing Visual Studio SKU. This code is specific to Visual Studio version 11.0 and might not work with past or future versions of Visual Studio. 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 GetSku ( _
    serviceProvider As IServiceProvider _
) As VisualStudio11SkuEdition
public static VisualStudio11SkuEdition GetSku(
    IServiceProvider serviceProvider
)
public:
static VisualStudio11SkuEdition GetSku(
    IServiceProvider^ serviceProvider
)
static member GetSku : 
        serviceProvider:IServiceProvider -> VisualStudio11SkuEdition
public static function GetSku(
    serviceProvider : IServiceProvider
) : VisualStudio11SkuEdition

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.VisualStudio11SkuEdition
Returns VisualStudio11SkuEdition.

.NET Framework Security

See Also

Reference

VisualStudio11Sku Class

Microsoft.VisualStudio.TeamFoundation Namespace