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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionProperties Class