Compartir a través de


AdoDotNetConnectionProperties.Remove Method

Removes a property from the current connection property collection.

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

Syntax

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

Parameters

  • key
    Type: System.String

    Name of the property to be removed from the current set.

Return Value

Type: System.Boolean
true if the property is successfully removed; false if the property does not exist.

Implements

IDictionary<TKey, TValue>.Remove(TKey)

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace