Share via


SyncAdapterCollection.Item Property (String)

Gets a SyncAdapter object from the collection when given a table name.

Namespace:  Microsoft.Synchronization.Data.Server
Assembly:  Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    tableName As String _
) As SyncAdapter
    Get
'Usage
Dim instance As SyncAdapterCollection
Dim tableName As String
Dim value As SyncAdapter

value = instance(tableName)
public SyncAdapter this[
    string tableName
] { get; }
public:
property SyncAdapter^ default[String^ tableName] {
    SyncAdapter^ get (String^ tableName);
}
member Item : SyncAdapter
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.Synchronization.Data.Server.SyncAdapter
A SyncAdapter object for the specified table.

Exceptions

Exception Condition
ArgumentNullException

tableName is a null reference (Nothing in Visual Basic).

ArgumentException

No SyncAdapter in this SyncAdapterCollection has a table name that matches tableName.

See Also

Reference

SyncAdapterCollection Class

Item Overload

Microsoft.Synchronization.Data.Server Namespace