ServerPublishOptions.GetRecordsetsToPublish method (Visio)

Returns the identifiers (IDs) of the data recordsets that are set to be published to a server.

Syntax

expression. GetRecordsetsToPublish( _PublishDataRecordsets_ , _DataRecordsetIDs()_ )

expression A variable that represents a ServerPublishOptions object.

Parameters

Name Required/Optional Data type Description
PublishDataRecordsets Required VisPublishDataRecordsets Out parameter. Returns whether all, no, or selected data recordsets are set to be published. See Remarks for possible values.
DataRecordsetIDs() Required Long Out parameter. Returns the IDs of the data recordsets that are set to be published.

Return value

Nothing

Remarks

The PublishDataRecordsets parameter can be one of the following VisPublishDataRecordsets constants.

Constant Value Description
visPublishDataRecordsetsAll 0 Publish all data recordsets in the document.
visPublishDataRecordsetsNone 1 Publish none of the data recordsets in the document.
visPublishDataRecordsetsSelect 2 Publish selected data recordsets.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.