ServerPublishOptions.SetRecordsetsToPublish method (Visio)

Sets the data recordsets to be published to a server.

Syntax

expression. SetRecordsetsToPublish( _PublishDataRecordsets_ , _DataRecordsetIDs()_ )

expression A variable that represents a ServerPublishOptions object.

Parameters

Name Required/Optional Data type Description
PublishDataRecordsets Required VisPublishDataRecordsets Specifies whether all, no, or selected data recordsets are to be published. See Remarks for possible values.
DataRecordsetIDs() Required Long Specifies the identifiers of the data recordsets that are set to be published if PublishDataRecordsets is visPublishDataRecordsetsSelect.

Return value

Nothing

Remarks

The PublishDataRecordsets parameter must 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.