DataConnectionProperties.Remove Method

Removes a property from the current connection property collection.

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

Syntax

'宣告
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

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace