次の方法で共有


OSInfo Class

 

Applies To: Windows Server Update Services

Contains information about the operating system of the client computer. To get this class, call the OSInfo property.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.OSInfo

Syntax

[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("F0C01F01-D5D2-41AB-8B92-B5917CDEF7B3")]
[ComVisibleAttribute(true)]
public class OSInfo
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute("F0C01F01-D5D2-41AB-8B92-B5917CDEF7B3")]
[ComVisibleAttribute(true)]
public ref class OSInfo 
[<SerializableAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("F0C01F01-D5D2-41AB-8B92-B5917CDEF7B3")>]
[<ComVisibleAttribute(true)>]
type OSInfo = class end
<SerializableAttribute>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("F0C01F01-D5D2-41AB-8B92-B5917CDEF7B3")>
<ComVisibleAttribute(True)>
Public Class OSInfo

Constructors

Name Description
System_CAPS_pubmethod OSInfo()

Initializes a new instance of the OSInfo class.

System_CAPS_pubmethod OSInfo(OSVersion, String)

Initializes a new instance of the OSInfo class.

Properties

Name Description
System_CAPS_pubproperty DefaultUILanguage

Locale of the operating system.

System_CAPS_pubproperty Version

Gets or sets the version of the operating system.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top