Partager via


UpdateServerStatus Class

 

Applies To: Windows Server Update Services

This class contains statistics summarizing the current state of the WSUS server, updates, and the client computers. To get this class, call the GetStatus method. The statistics are a snapshot in time of the current counts. You need to call the GetStatus method each time you want to receive the current counts. Do not use the new keyword to create this class.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.UpdateServerStatus

Syntax

[SerializableAttribute]
[GuidAttribute("1C0F6DF3-7617-4574-B0E1-B29EFD827BF5")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class UpdateServerStatus
[SerializableAttribute]
[GuidAttribute("1C0F6DF3-7617-4574-B0E1-B29EFD827BF5")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class UpdateServerStatus 
[<SerializableAttribute>]
[<GuidAttribute("1C0F6DF3-7617-4574-B0E1-B29EFD827BF5")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type UpdateServerStatus = class end
<SerializableAttribute>
<GuidAttribute("1C0F6DF3-7617-4574-B0E1-B29EFD827BF5")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public Class UpdateServerStatus

Constructors

Name Description
System_CAPS_pubmethod UpdateServerStatus()

Initializes a new instance of the UpdateServerStatus class.

Properties

Name Description
System_CAPS_pubproperty ApprovedUpdateCount

Number of updates on the WSUS server that have been approved.

System_CAPS_pubproperty ComputersUpToDateCount

Get or set the number of ComputerTargets on which all Updates are known to be Installed or NotApplicable.

System_CAPS_pubproperty ComputerTargetCount

Number of clients that are known to the WSUS server.

System_CAPS_pubproperty ComputerTargetsNeedingUpdatesCount

Number of clients with at least one update that is not yet installed.

System_CAPS_pubproperty ComputerTargetsWithUpdateErrorsCount

Number of clients with at least one update that is currently in a failure state.

System_CAPS_pubproperty CriticalOrSecurityUpdatesNotApprovedForInstallCount

Number of critical or security updates on the WSUS server that are not approved for installation.

System_CAPS_pubproperty CustomComputerTargetGroupCount

Number of administrator-created computer target groups on the WSUS server.

System_CAPS_pubproperty DeclinedUpdateCount

Number of updates on the WSUS server that have been declined by an administrator.

System_CAPS_pubproperty ExpiredUpdateCount

Number of updates on the WSUS server whose latest revision is marked as expired by the publisher of the update.

System_CAPS_pubproperty NotApprovedUpdateCount

Number of updates on the WSUS server that have not been approved or declined.

System_CAPS_pubproperty ShouldDeleteUnneededRevisions

Indicates if the WSUS database is growing too large and that unneeded revisions should be deleted.

System_CAPS_pubproperty UnrecognizedClientRequestedTargetGroupNames

Names of target groups requested by clients that do not match existing target groups on the server.

System_CAPS_pubproperty UpdateCount

Total number of updates on the WSUS server.

System_CAPS_pubproperty UpdatesNeededByComputersCount

Number of updates on the WSUS server that are needed by one or more client computers.

System_CAPS_pubproperty UpdatesNeedingFilesCount

Number of updates on the WSUS server that do not have all the required installation files.

System_CAPS_pubproperty UpdatesUpToDateCount

Get or set the number of Updates on the UpdateServer that are known to be Installed or NotApplicable on all computers.

System_CAPS_pubproperty UpdatesWithClientErrorsCount

Number of updates on the WSUS server that have at least one client that is currently in a failed state for that update.

System_CAPS_pubproperty UpdatesWithServerErrorsCount

Number of updates on the WSUS server that are in a failure state.

System_CAPS_pubproperty UpdatesWithStaleUpdateApprovalsCount

Number of updates on the WSUS server that have a revision of an update that is approved but is not the latest revision.

System_CAPS_pubproperty WsusInfrastructureUpdatesNotApprovedForInstallCount

Number of WSUS infrastructure updates on the WSUS server that are not approved for installation.

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