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
'Usage
Dim instance As DataConnectionProperties 
Dim key As String 
Dim returnValue As Boolean 

returnValue = instance.Reset(key)
public bool Reset(
    string key
)
public:
virtual bool Reset(
    String^ key
) sealed
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

DataConnectionProperties Members

Reset Overload

Microsoft.VisualStudio.Data.Framework Namespace