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
- 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.