IAutomaticUpdateApprovalRule.Save()

Saves changes to the automatic approval rule settings.

public void Save();
Public Sub Save()
Implements IAutomaticUpdateApprovalRule.Save

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Exceptions

Exception type Condition
WsusObjectNotFoundException Could not find the rule in the database.
System.InvalidOperationException You cannot modify an automatic approval rule if the server is a replica WSUS server (if IUpdateServerConfiguration.IsReplicaServer is true).

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.