OSInfo Constructor (OSVersion, String)

Initializes a new instance of the OSInfo class.

Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)

Usage

    Dim version As OSVersion
Dim locale As String

Dim instance As New OSInfo(version, locale)

Syntax

'Declaration
Public Sub New ( _
    version As OSVersion, _
    locale As String _
)
public OSInfo (
    OSVersion version,
    string locale
)
public:
OSInfo (
    OSVersion^ version, 
    String^ locale
)
public OSInfo (
    OSVersion version, 
    String locale
)
public function OSInfo (
    version : OSVersion, 
    locale : String
)

Parameters

  • version
    Version of the operating system. For details, see OSVersion.
  • locale
    Locale of the operating system. For example, "en".

Platforms

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2

See Also

Reference

OSInfo Class
OSInfo Members
Microsoft.UpdateServices.Administration Namespace