SyncSchemaTables.Remove Method
Removes the first occurrence of a SyncSchemaTable object with the specified name from the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub Remove ( _
name As String _
)
'Usage
Dim instance As SyncSchemaTables
Dim name As String
instance.Remove(name)
public void Remove(
string name
)
public:
void Remove(
String^ name
)
member Remove :
name:string -> unit
public function Remove(
name : String
)
Parameters
- name
Type: System.String
The name of the SyncSchemaTable object to remove from the SyncSchemaTables collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
InvalidOperationException | The parent data set did not containe a table with the name in name. |