SyncSchemaForeignKeys.Item Property (String)
Gets a SyncSchemaForeignKey object from the collection when given a foreign key constraint name.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
foreignKeyName As String _
) As SyncSchemaForeignKey
public SyncSchemaForeignKey this [
string foreignKeyName
] { get; }
public:
property SyncSchemaForeignKey^ default [String^] {
SyncSchemaForeignKey^ get (String^ foreignKeyName);
}
/** @property */
public SyncSchemaForeignKey get_Item (String foreignKeyName)
Parameters
- foreignKeyName
The name of the SyncSchemaForeignKey object to return from the SyncSchemaForeignKeys collection.
Property Value
The SyncSchemaForeignKey object in the collection with the specified name; otherwise a null value if the foreign key constraint name does not exist.
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