Share via


SyncSchemaColumns.CanRemove Method

Determines whether a specific SyncSchemaColumn object can be removed from the collection.

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

Syntax

'Declaration
Public Function CanRemove ( _
    columnName As String _
) As Boolean
'Usage
Dim instance As SyncSchemaColumns
Dim columnName As String
Dim returnValue As Boolean

returnValue = instance.CanRemove(columnName)
public bool CanRemove(
    string columnName
)
public:
bool CanRemove(
    String^ columnName
)
member CanRemove : 
        columnName:string -> bool 
public function CanRemove(
    columnName : String
) : boolean

Parameters

  • columnName
    Type: System.String
    The name of the column. Specify the name to determine if it can be removed from the SyncSchemaColumn collection.

Return Value

Type: System.Boolean
true if the column can be removed from the collection; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

columnName is a null reference (Nothing in Visual Basic).

See Also

Reference

SyncSchemaColumns Class

Microsoft.Synchronization.Data Namespace