OLEDBConnection.SavePassword Property
True if password information in an OLE DB 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 OLEDBConnection
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 OLEDB queries, and by both PivotTables and QueryTables.