Compartilhar via


DataConnectionProperties.Reset Method (String)

Removes the specified property from the current set of data connection properties.

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

Syntax

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

Parameters

  • key
    Type: System.String

    The name of the property key for the property to be reset.

Return Value

Type: System.Boolean
true if the property was removed; false if the property is not found.

Implements

IVsDataConnectionProperties.Reset(String)

Remarks

This method raises the PropertyChanged event upon successful property removal.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Reset Overload

Microsoft.VisualStudio.Data.Framework Namespace