Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the name of the latest operating system service pack that is installed on the system.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaration
Public ReadOnly Property ServicePack As String
Get
public string ServicePack { get; }
public:
property String^ ServicePack {
String^ get ();
}
member ServicePack : string
function get ServicePack () : String
Property Value
Type: System.String
Remarks
If no service pack has been installed, the string is empty. This value is retrieved from GetVersionEx.
.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.