次の方法で共有


ServerPublishOptions.GetRecordsetsToPublish Method (Visio)

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

Version Information

Version Added: Visio 2010

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.