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
- serviceProvider
Type: System.IServiceProvider
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.VisualStudio11SkuEdition
Returns VisualStudio11SkuEdition.
.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.