Share via


SqlSyncAdapterBuilder.TableName Property

Gets or sets the name of the base table for which to create a SyncAdapter object.

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

Syntax

'Declaration
Public Property TableName As String
    Get
    Set
'Usage
Dim instance As SqlSyncAdapterBuilder
Dim value As String

value = instance.TableName

instance.TableName = value
public string TableName { get; set; }
public:
property String^ TableName {
    String^ get ();
    void set (String^ value);
}
member TableName : string with get, set
function get TableName () : String
function set TableName (value : String)

Property Value

Type: System.String
The name of the base table for which to create a SyncAdapter object.

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

This property must be set to generate commands.

Examples

For a code example, see SqlSyncAdapterBuilder.

See Also

Reference

SqlSyncAdapterBuilder Class

Microsoft.Synchronization.Data.Server Namespace