Compartilhar via


OLEDBConnection.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 OLEDBConnection
Dim value As String

value = instance.SourceConnectionFile

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

Property Value

Type: System.String
String

See Also

Reference

OLEDBConnection Interface

OLEDBConnection Members

Microsoft.Office.Interop.Excel Namespace