Share via


DbSyncTableDescriptionCollection.Item Property (String)

Gets a DbSyncTableDescription 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 ( _
    globalTableName As String _
) As DbSyncTableDescription
    Get
'Usage
Dim instance As DbSyncTableDescriptionCollection
Dim globalTableName As String
Dim value As DbSyncTableDescription

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

Parameters

  • globalTableName
    Type: System.String
    The name of the table to add to the collection.

Property Value

Type: Microsoft.Synchronization.Data.DbSyncTableDescription
A DbSyncTableDescription object.

Exceptions

Exception Condition
ArgumentException

globalTableName is empty.

ArgumentNullException

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

See Also

Reference

DbSyncTableDescriptionCollection Class

Item Overload

Microsoft.Synchronization.Data Namespace