Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
An UpdateRevisionId object that identifies the update from which to export the SDP.
The full path and filename of the update file.
The update to be exported is not a locally-published update and has no saved SDP information, or the specific revision is missing from the WSUS database.
id or fileName is null.
id is not valid.
The revision number is 0 and the update doesn't exist in the database, so that the latest revision of the update cannot be retrieved.
[This method can be found only in the API delivered with WSUS 3.0 SP1.] This method can throw many other exception types when trying to write to the specified location. See the documentation for the StreamWriter class and its constructor.
This operation requires WSUS Administrator privileges.