Share via


ODBCConnection.SavePassword Property

True if password information in an ODBC connection string is saved in the connection string. False if the password is removed. Read/write Boolean.

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

Syntax

'Declaration
Property SavePassword As Boolean
    Get
    Set
'Usage
Dim instance As ODBCConnection
Dim value As Boolean

value = instance.SavePassword

instance.SavePassword = value
bool SavePassword { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

This property is used in both ODBC and OLE DB queries, and by both PivotTables and QueryTables.

See Also

Reference

ODBCConnection Interface

ODBCConnection Members

Microsoft.Office.Interop.Excel Namespace