SyncSchemaForeignKeys.Contains Method
Determines whether a SyncSchemaForeignKey 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 ( _
constraintName As String _
) As Boolean
public bool Contains (
string constraintName
)
public:
bool Contains (
String^ constraintName
)
public boolean Contains (
String constraintName
)
public function Contains (
constraintName : String
) : boolean
Parameters
- constraintName
The name of the SyncSchemaForeignKey object to search for in the SyncSchemaForeignKeys collection.
Return Value
true if the SyncSchemaForeignKey object exists in the collection; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
Target Platforms
See Also
Reference
SyncSchemaForeignKeys Class
SyncSchemaForeignKeys Members
Microsoft.Synchronization.Data Namespace