Compartir a través de


AdoDotNetConnectionProperties.Reset Method (String)

Removes the given property from the connection string and raises the PropertyChanged event.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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

Parameters

  • key
    Type: System.String

    The property name that is to be removed.

Return Value

Type: System.Boolean
true if the property is successfully removed; false if the property does not exist.

Implements

IVsDataConnectionProperties.Reset(String)

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Reset Overload

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace