IUpdateServer.GetSubscription()
Retrieves a subscription instance that you use to manage the synchronization process.
public ISubscription GetSubscription();
Public Function GetSubscription() As ISubscription
Implements IUpdateServer.GetSubscription
Parameters
This method has no parameters.
Return Values
An ISubscription that you use to manage the synchronization process. For example, you use the instance to specify the product updates to synchronize, determine when the synchronization process begins, and determine the synchronization's progress.
Exceptions
Exception type | Condition |
---|---|
WsusObjectNotFoundException | Unable to find the system subscription. |
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. |