SyncSchemaTables.CanRemove Method
Returns whether a specific SyncSchemaTable 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 ( _
name As String _
) As Boolean
'Usage
Dim instance As SyncSchemaTables
Dim name As String
Dim returnValue As Boolean
returnValue = instance.CanRemove(name)
public bool CanRemove(
string name
)
public:
bool CanRemove(
String^ name
)
member CanRemove :
name:string -> bool
public function CanRemove(
name : String
) : boolean
Parameters
- name
Type: System.String
The name of the SyncSchemaTable object. Specify the name to determine if it can be removed from the SyncSchemaTables collection.
Return Value
Type: System.Boolean
Returns true if the SyncSchemaTable object can be removed from the collection; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |