次の方法で共有


ISubscription.StartSynchronizationForCategoryOnly Method ()

 

Applies To: Windows Server Update Services

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.

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

Syntax

void StartSynchronizationForCategoryOnly()
void StartSynchronizationForCategoryOnly()
abstract StartSynchronizationForCategoryOnly : unit -> unit
Sub StartSynchronizationForCategoryOnly

Exceptions

Exception

Condition

InvalidOperationException

The synchronization cannot be started either because of its current state or because WSUS is currently saving server configuration changes.

Remarks

To determine if the WSUS server is currently saving the server configuration changes, call GetUpdateServerConfigurationState. If the call returns ProcessingSave then the server is in the process of saving the server configuration.

This operation requires WSUS Administrator privileges.

See Also

ISubscription Interface
Microsoft.UpdateServices.Administration Namespace

Return to top