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 _
)
'使用
Dim instance As DataConnectionProperties
Dim propertyName As String
instance.Remove(propertyName)
public virtual void Remove(
string propertyName
)
public:
virtual void Remove(
String^ propertyName
)
public function Remove(
propertyName : String
)
Parameters
propertyName
Type: System.StringName of the property to be removed from the current set.
Implements
IDataConnectionProperties.Remove(String)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The propertyName parameter is null. |
Permissions
- 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.
See Also
Reference
DataConnectionProperties Class