SyncSchemaTables.Contains Method
Determines whether a SyncSchemaTable object with the specified name is in the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Function Contains ( _
name As String _
) As Boolean
'Usage
Dim instance As SyncSchemaTables
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains(
string name
)
public:
bool Contains(
String^ name
)
member Contains :
name:string -> bool
public function Contains(
name : String
) : boolean
Parameters
- name
Type: System.String
The name of the SyncSchemaTable object to search for in the SyncSchemaTables collection.
Return Value
Type: System.Boolean
Returns true if the SyncSchemaForeignKey object exists in the collection; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |