ConnectionFile Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns or sets a String that specifies the Office Database Connection (.odc) or Microsoft Data Link (.udl) file that is used to connect the data access page to a data source. Read/write.

expression.ConnectionFile

expression   Required. An expression that returns a DataSourceControl object.

Example

This example connects the data access page to a Office Database Connection file named "SQL Northwind.odc".

  MSODSC.ConnectionFile = "SQL Northwind.odc"