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.
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
Get
'Usage
Dim instance As SyncSchemaForeignKeys
Dim foreignKeyName As String
Dim value As SyncSchemaForeignKey
value = instance(foreignKeyName)
public SyncSchemaForeignKey this[
string foreignKeyName
] { get; }
public:
property SyncSchemaForeignKey^ default[String^ foreignKeyName] {
SyncSchemaForeignKey^ get (String^ foreignKeyName);
}
member Item : SyncSchemaForeignKey
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- foreignKeyName
Type: System.String
The name of the SyncSchemaForeignKey object to return from the SyncSchemaForeignKeys collection.
Property Value
Type: Microsoft.Synchronization.Data.SyncSchemaForeignKey
The SyncSchemaForeignKey object in the collection with the specified name; otherwise a null value if the foreign key constraint name does not exist.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | foreignKeyName is a null reference (Nothing in Visual Basic). |