Removes a custom property from a specified set of data connection properties.
Namespace: Microsoft.Data.ConnectionUI
Assembly: Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)
Syntax
'宣言
Sub Remove ( _
propertyName As String _
)
'使用
Dim instance As IDataConnectionProperties
Dim propertyName As String
instance.Remove(propertyName)
void Remove(
string propertyName
)
void Remove(
String^ propertyName
)
function Remove(
propertyName : String
)
Parameters
propertyName
Type: System.StringName of the custom property to be removed.
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
IDataConnectionProperties Interface