Condividi tramite


Metodo AdoDotNetConnectionProperties.Reset (String)

Cancella la proprietà specificata dalla stringa di connessione e genera l'evento PropertyChanged.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
Public Overridable Function Reset ( _
    key As String _
) As Boolean
public virtual bool Reset(
    string key
)
public:
virtual bool Reset(
    String^ key
)
abstract Reset : 
        key:string -> bool  
override Reset : 
        key:string -> bool
public function Reset(
    key : String
) : boolean

Parametri

  • key
    Tipo: String

    Il nome della proprietà da rimuovere.

Valore restituito

Tipo: Boolean
true se la proprietà è disconnessa correttamente; false se la proprietà non esiste.

Implementa

IVsDataConnectionProperties.Reset(String)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetConnectionProperties Classe

Overload Reset

Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet