Compartilhar via


_QueryTable.SavePassword Property

True if password information in an ODBC connection string is saved with the specified query. 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 _QueryTable
Dim value As Boolean

value = instance.SavePassword

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

Property Value

Type: System.Boolean

Remarks

This property affects only ODBC queries.

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace