Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
)
member Contains :
constraintName:string -> bool
public function Contains(
constraintName : String
) : boolean
Parameters
- constraintName
Type: System.String
The name of the SyncSchemaForeignKey object to search for in the SyncSchemaForeignKeys collection.
Return Value
Type: System.Boolean
true if the SyncSchemaForeignKey object exists in the collection. Otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | constraintName is a null reference (Nothing in Visual Basic). |