IUpdateServer Interface
Applies To: Windows Server Update Services
Use this interface to access WSUS components. To get this interface, call one of the GetUpdateServer methods.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public interface IUpdateServer
public interface class IUpdateServer
type IUpdateServer = interface end
Public Interface IUpdateServer
Properties
Name | Description | |
---|---|---|
IsConnectionSecureForApiRemoting | Get a value indicating whether a secure connection to the update server is being used for API Remoting. |
|
Name | Gets the name of the server. |
|
PortNumber | Get the port number of the API Remoting web service on the update server. |
|
PreferredCulture | Gets or sets the culture code that you want the WSUS server to use when returning strings. |
|
ServerProtocolVersion | Gets the servers protocol version information. |
|
Version | Get the version of the update server. |
Methods
Name | Description | |
---|---|---|
AddDynamicCategories(IEnumerable<IDynamicCategory>) | Adds dynamic categories to the WSUS server. |
|
AddDynamicCategory(IDynamicCategory) | Adds a dynamic category to the WSUS server. |
|
CancelAllDownloads() | Cancels current downloads for updates. |
|
CreateComputerTargetGroup(String) | Creates a target group to target client computers for updates. |
|
CreateComputerTargetGroup(String, IComputerTargetGroup) | Create a new computer group on the server as a child of the specified target group. |
|
CreateDynamicCategory(String, DynamicCategoryType) | Creates and initializes a new dynamic category object. |
|
CreateInstallApprovalRule(String) | Create a new empty Install Automatic Approval Rule |
|
DeleteDynamicCategory(String, DynamicCategoryType) | Removes a dynamic category from the WSUS server. |
|
DeleteInstallApprovalRule(Int32) | Deletes an Install Automatic Approval Rule from the database. |
|
DeleteUpdate(Guid) | Delete an update specified by the UpdateID. |
|
ExpirePackage(UpdateRevisionId) | Causes a locally-published package to become expired. |
|
ExportPackageMetadata(UpdateRevisionId, String) | Exports the file for a locally-published update. This makes it possible to retrieve the package metadata for a detectoid update. |
|
GetChildServers() | Get all downstream servers that sync directly from this server. |
|
GetCleanupManager() | Get an instance of the ICleanupManager interface for performing cleanup tasks to the server. |
|
GetComponentsWithErrors() | Gets a list of server components that are currently in an error state. |
|
GetComputersNotContactedSinceCount(DateTime) | Number of clients that have not reported their status to the WSUS server since the specified time. |
|
GetComputerStatus(ComputerTargetScope, UpdateSources) | Gets high-level status information summarizing the state of the computers that are clients of this server. |
|
GetComputersWithRecentNameChange() | Gets the list of client computers that have changed their names in the past 24 hours. |
|
GetComputerTarget(String) | Gets the specified client computer. |
|
GetComputerTargetByName(String) | Get the computer target with the specified name. |
|
GetComputerTargetCount() | Gets the number of computers. |
|
GetComputerTargetCount(ComputerTargetScope) | Gets the number of computers that match the specified search criteria. |
|
GetComputerTargetGroup(Guid) | Gets the specified target group. |
|
GetComputerTargetGroups() | Gets a collection of all the target groups on the WSUS server. |
|
GetComputerTargets() | Gets a collection of all client computers that are known to the WSUS server. |
|
GetComputerTargets(ComputerTargetScope) | Gets all computers that match the specified search criteria. |
|
GetConfiguration() | Gets an IUpdateServerConfiguration that you use to configure the WSUS server. |
|
GetContentDownloadProgress() | Gets the progress of all updates that are currently being downloaded. |
|
GetCurrentUserRole() | Gets the current user's role on the WSUS server. |
|
GetDatabaseConfiguration() | Gets an IDatabaseConfiguration object that you use to configure the database connection. |
|
GetDownstreamServer(Guid) | Get the downstream server corresponding to the supplied ID. |
|
GetDownstreamServers() | Gets a collection of downstream WSUS servers that are registered with this WSUS server. |
|
GetDynamicCategories(Int64, Int64) | Returns the specified number of dynamic categories. |
|
GetDynamicCategories(Int64, Int64, Nullable<DynamicCategoryType>, Nullable<Boolean>, Nullable<DateTime>) | Returns a specified number of categories that satisfy the filter criteria. |
|
GetDynamicCategory(String, DynamicCategoryType) | Returns the specified dynamic category. |
|
GetEmailNotificationConfiguration() | Gets the e-mail notification configuration interface |
|
GetFrontEndServers() | Gets the list of all front-end servers |
|
GetInstallApprovalRules() | Get a collection of automatic approval rules. |
|
GetPublisher(String) | Gets an instance of IPublisher for publishing a package to the server using the specified SDP File. |
|
GetPublisher(String, Boolean) | Gets an instance of IPublisher for publishing a package to the server by using the specified SDP file. This overload also allows you to specify whether or not the certificate should be signed with a time stamp. |
|
GetReplicaStatus() | Get a set of status information summarizing the current state of the update server's replica set and its client computers. |
|
GetReplicaStatus(UpdateSources) | Gets the status information summarizing the current state of the IUpdateServer object's replica set and its client computers. |
|
GetRootUpdateCategories() | Gets a collection of the top-level categories on the WSUS server. |
|
GetStatus() | Gets statistics that summarize the current state of the WSUS server, updates, and the client computers. |
|
GetStatus(UpdateSources) | Gets a set of status information summarizing the current state of the update server and its client computers. |
|
GetSubscription() | Gets a subscription instance that you use to manage the synchronization process. |
|
GetSubscriptionEvent(Guid) | Gets a subscription event that identifies changes to the subscription. |
|
GetSummariesPerComputerTarget(UpdateScope, ComputerTargetScope) | Get per-computer summaries for each of the specified computers, summed across all of the specified updates. |
|
GetSummariesPerUpdate(UpdateScope, ComputerTargetScope) | Get per-update summaries for each of the specified updates, summed across all of the specified computers. |
|
GetSynchronizationInfo(Guid) | Gets information that is related to a specific synchronization process. |
|
GetUpdate(UpdateRevisionId) | Gets the specified update. |
|
GetUpdateApproval(Guid) | Gets the specified approval. |
|
GetUpdateApprovals(UpdateScope) | Gets the UpdateApprovalCollection of update approvals that match the specified criteria. |
|
GetUpdateCategories() | Gets the list of all update categories that are known to the WSUS server. |
|
GetUpdateCategories(DateTime, DateTime) | Gets the update categories that were added within the specified date range. |
|
GetUpdateCategory(Guid) | Gets the category of updates for the given identifier. |
|
GetUpdateClassification(Guid) | Gets the requested update classification. |
|
GetUpdateClassifications() | Gets a collection of update classifications that are known to the WSUS server. |
|
GetUpdateClassifications(DateTime, DateTime) | Gets the update classifications that were added within the specified date range. |
|
GetUpdateCount() | Gets the number of all available drivers and software updates. |
|
GetUpdateCount(UpdateScope) | Get the number of updates that match the specified search criteria. |
|
GetUpdateEventHistory(DateTime, DateTime) | Gets all installation events for all clients for the specified date range. |
|
GetUpdateEventHistory(DateTime, DateTime, Guid) | Gets all installation events that were raised by all clients for the specified update and date range. |
|
GetUpdateEventHistory(DateTime, DateTime, Guid, WsusEventSource, WsusEventId[]) | Gets events based on the specified criteria. |
|
GetUpdateEventHistory(DateTime, DateTime, IComputerTarget) | Gets all installation events that were raised by the specified client for the specified date range. |
|
GetUpdates() | Gets a collection of the latest revision of each update. |
|
GetUpdates(ApprovedStates, DateTime, DateTime, UpdateCategoryCollection, UpdateClassificationCollection) | Gets a collection of updates based on the specified criteria. |
|
GetUpdates(UpdateScope) | Gets all updates that match the specified search criteria. |
|
GetUpdateStatus(UpdateScope, Boolean) | Gets high-level status information summarizing the state of updates on this server. |
|
ImportUpdateFromCatalogSite(String, String[]) | Imports an update and all of its prerequisites and bundle dependencies. |
|
IsPrerequisitePresent(Guid) | Determines whether the prerequisite already exists on the WSUS server. |
|
IsValidComputerTargetGroupName(String) | Determines whether the specified name is a valid computer group name. |
|
LogMessage(LogLevel, String, Object[]) | Logs a message in the SoftwareDistribution log file. |
|
RegisterComputer(String) | Registers a client computer with the WSUS server. |
|
ResetAndVerifyContentState() | Forces the synchronization of all update metadata on the WSUS server and verifies that all update files on the WSUS server are valid. |
|
ResumeAllDownloads() | Identifies the updates to download. |
|
RollupReportingData() | Rolls up reporting data to an upstream server. |
|
SearchComputerTargets(String) | Gets a collection of target computers whose full domain name contains the given string. |
|
SearchUpdates(String) | Gets a collection of updates whose metadata contains the given string. |
|
SetDynamicCategory(IDynamicCategory) | Sets the dynamic category to the specified state. |
See Also
Microsoft.UpdateServices.Administration Namespace
Return to top