편집

다음을 통해 공유


OfficeDataSourceObject.Open(String, String, String, Int32, Int32) Method

Definition

Opens a connection to a mail merge data source.

public void Open (string bstrSrc = "", string bstrConnect = "", string bstrTable = "", int fOpenExclusive = 0, int fNeverPrompt = 1);
abstract member Open : string * string * string * int * int -> unit
Public Sub Open (Optional bstrSrc As String = "", Optional bstrConnect As String = "", Optional bstrTable As String = "", Optional fOpenExclusive As Integer = 0, Optional fNeverPrompt As Integer = 1)

Parameters

bstrSrc
String

Optional String. The name of the data source.

bstrConnect
String

Optional String. The connection string to the data source.

bstrTable
String

Optional String. The name of a table in the data source.

fOpenExclusive
Int32

Optional Integer. Sets whether the data source is opened for exclusive access.

fNeverPrompt
Int32

Optional Integer. Sets whether prompts are displayed.

Applies to