Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the classifications of updates that WSUS synchronizes. For example, security or critical updates.
public void SetUpdateClassifications(UpdateClassificationCollectionupdateClassifications);
Public Sub SetUpdateClassifications( _
ByVal updateClassifications As UpdateClassificationCollection _
)
Implements ISubscription.SetUpdateClassifications
Parameters
- updateClassifications
An UpdateClassificationCollection collection that contains the update classifications to use when WSUS synchronizes the updates.
Return Value
This method does not return a value.
Exceptions
| Exception type | Condition |
|---|---|
| System.ArgumentNullException | updateClassifications cannot be null. |
Remarks
To use the specified classifications in the synchronization process, you must call ISubscription.Save.
For a complete list of classifications, call IUpdateServer.GetUpdateClassifications.
Note that the classifications of a downstream server are determined by the upstream server; WSUS ignores the classifications that you specify on a downstream server (when IUpdateServerConfiguration.SyncFromMicrosoftUpdate is false).
Requirements
| Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
| Namespace | Defined in Microsoft.UpdateServices.Administration. |
| Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
| .NET Framework | Requires .NET Framework 1.1. |
See Also
ISubscription.GetUpdateClassifications
IUpdateServer.GetUpdateClassifications