Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a property from the current connection property collection.
Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable Sub Remove ( _
    propertyName As String _
)
public virtual void Remove(
    string propertyName
)
public:
virtual void Remove(
    String^ propertyName
)
abstract Remove : 
        propertyName:string -> unit 
override Remove : 
        propertyName:string -> unit 
public function Remove(
    propertyName : String
)
Parameters
- propertyName
 Type: System.String
 Name of the property to be removed from the current set.
Implements
IDataConnectionProperties.Remove(String)
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The propertyName parameter is null. | 
.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.