ISubscription Members
Used to view or modify the synchronization settings and to start the synchronization process manually or automatically. Downstream servers receive synchronization settings from the upstream server. Downstream servers can modify and save synchronization settings; however, only the synchronization schedule is used by the downstream server. WSUS ignores the other settings. Downstream servers can also start and stop the synchronization process. To retrieve this interface, call GetSubscription.
The following tables list the members exposed by the ISubscription type.
Public Properties
Name | Description | |
---|---|---|
LastModifiedBy | Gets the name of the user who last modified the WSUS server subscription settings. | |
LastModifiedTime | Gets the last time the WSUS server subscription settings were modified. | |
NumberOfSynchronizationsPerDay | Gets or sets the number of server-to-server synchronizations a day. | |
SynchronizeAutomatically | Determines whether the WSUS server synchronizes the updates automatically. | |
SynchronizeAutomaticallyTimeOfDay | Gets or sets the time of day when the WSUS server automatically synchronizes the updates. |
Top
Public Methods
Name | Description | |
---|---|---|
GetEventHistory | Overloaded. Gets all the events for the server subscription. | |
GetLastSynchronizationInfo | Gets the synchronization history of the last synchronization. | |
GetNextSynchronizationTime | Gets the next time the server will synchronize the updates. | |
GetSynchronizationHistory | Overloaded. Gets a history of synchronizations that have occurred on the system. | |
GetSynchronizationProgress | Gets the synchronization progress, if the server is currently synchronizing updates. | |
GetSynchronizationStatus | Gets the status of the synchronization process. | |
GetUpdateCategories | Gets the categories of updates synchronized by the WSUS server, for example, updates for Windows Server 2003 or for the Windows product family. | |
GetUpdateClassifications | Gets the classifications of updates that the WSUS server synchronizes, for example, security or critical updates. | |
Save | Saves changes to the WSUS server subscription settings. | |
SetUpdateCategories | Sets the categories of updates that you want the WSUS server to synchronize. | |
SetUpdateClassifications | Sets the classifications of updates that WSUS synchronizes, for example, security or critical updates. | |
StartSynchronization | Starts the WSUS server synchronization process. | |
StartSynchronizationForCategoryOnly | This is a revised version of StartSynchronization. StartSynchronizationForCategoryOnly only processes the categories and detectoids but not software/driver updates, which is essentially the first part of StartSynchronization. | |
StopSynchronization | Stops the WSUS server synchronization process if it is running. |
Top
See Also
Reference
ISubscription Interface
Microsoft.UpdateServices.Administration Namespace