Share via


DataConnectionProperties.RemoveProperty Method

Removes a natively recognized property from the current collection of properties.

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

Syntax

'Declaration
Protected Sub RemoveProperty ( _
    name As String _
)
protected void RemoveProperty(
    string name
)
protected:
void RemoveProperty(
    String^ name
)
member RemoveProperty : 
        name:string -> unit
protected function RemoveProperty(
    name : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The name parameter is nulla null reference (Nothing in Visual Basic).

Remarks

This method also removes all other references to the specified property from the synonyms, extended properties, and property descriptors collections.

This method is called by Remove.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace

AddProperty

AddProperty