Sdílet prostřednictvím


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
'Usage
Dim instance As SyncSchemaForeignKeys
Dim constraintName As String
Dim returnValue As Boolean

returnValue = instance.Contains(constraintName)
public bool Contains (
    string constraintName
)
public:
bool Contains (
    String^ constraintName
)
public boolean Contains (
    String constraintName
)
public function Contains (
    constraintName : String
) : boolean

Parameters

Return Value

true if the SyncSchemaForeignKey object exists in the collection. Otherwise, false.

See Also

Reference

SyncSchemaForeignKeys Class
SyncSchemaForeignKeys Members
Microsoft.Synchronization.Data Namespace