ServerPublishOptions.SetRecordsetsToPublish Method (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Sets the data recordsets to be published to a server.

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

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.

Show: