Share via


SystemInformationEvent.OSRole Property

Gets the operating system product type/role, which is retrieved from GetVersionEx.

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

Syntax

'Declaration
Public ReadOnly Property OSRole As Integer
    Get
public int OSRole { get; }
public:
property int OSRole {
    int get ();
}
member OSRole : int
function get OSRole () : int

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

SystemInformationEvent Class

Microsoft.VisualStudio.IntelliTrace Namespace