ServerPublishOptions.SetRecordsetsToPublish Method (Visio)

Sets the data recordsets to be published to a server.

Version Information

Version Added: Visio 2010

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.

Community Additions

ADD
Show:
© 2014 Microsoft