DbSyncForeignKeyConstraintCollection.Item Property (String)
Gets a DbSyncForeignKeyConstraint object with the specified name from the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
constraintName As String _
) As DbSyncForeignKeyConstraint
'Usage
Dim instance As DbSyncForeignKeyConstraintCollection
Dim constraintName As String
Dim value As DbSyncForeignKeyConstraint
value = instance(constraintName)
public DbSyncForeignKeyConstraint this [
string constraintName
] { get; }
public:
property DbSyncForeignKeyConstraint^ default [String^] {
DbSyncForeignKeyConstraint^ get (String^ constraintName);
}
/** @property */
public DbSyncForeignKeyConstraint get_Item (String constraintName)
Parameters
- constraintName
The name of the constraint to add to the collection.
Property Value
A DbSyncForeignKeyConstraint object.
See Also
Reference
DbSyncForeignKeyConstraintCollection Class
DbSyncForeignKeyConstraintCollection Members
Microsoft.Synchronization.Data Namespace