Table of contents
Collapse the table of content
Expand the table of content

ServerPublishOptions.SetRecordsetsToPublish Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Sets the data recordsets to be published to a server.


expression . SetRecordsetsToPublish( PublishDataRecordsets , DataRecordsetIDs() )

expression A variable that represents a ServerPublishOptions object.


NameRequired/OptionalData TypeDescription
PublishDataRecordsetsRequiredVisPublishDataRecordsetsSpecifies whether all, no, or selected data recordsets are to be published. See Remarks for possible values.
DataRecordsetIDs()RequiredLongSpecifies the identifiers of the data recordsets that are set to be published if PublishDataRecordsets is visPublishDataRecordsetsSelect .

Return Value



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

visPublishDataRecordsetsAll0Publish all data recordsets in the document.
visPublishDataRecordsetsNone1Publish none of the data recordsets in the document.
visPublishDataRecordsetsSelect2Publish selected data recordsets.
© 2018 Microsoft