Compartilhar via


SystemInformationEvent.ServicePack Property

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

'Declaração
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

See Also

Reference

SystemInformationEvent Class

Microsoft.VisualStudio.IntelliTrace Namespace