共用方式為


ODBCConnection.SourceConnectionFile Property

Returns or sets a String indicating the Microsoft Office Data Connection file or similar file that was used to create the connection. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property SourceConnectionFile As String
    Get
    Set
'Usage
Dim instance As ODBCConnection
Dim value As String

value = instance.SourceConnectionFile

instance.SourceConnectionFile = value
string SourceConnectionFile { get; set; }

Property Value

Type: System.String
String

See Also

Reference

ODBCConnection Interface

ODBCConnection Members

Microsoft.Office.Interop.Excel Namespace