TableName propriété
Obtient ou définit le nom de la table de base pour laquelle créer un objet SyncAdapter.
Espace de noms : Microsoft.Synchronization.Data.Server
Assembly : Microsoft.Synchronization.Data.Server (dans Microsoft.Synchronization.Data.Server.dll)
Syntaxe
'Déclaration
Public Property TableName As String
Get
Set
'Utilisation
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)
Valeur de la propriété
Type : System. . :: . .String
Nom de la table de base pour laquelle créer un objet SyncAdapter.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value est une null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) . |
Notes
Cette propriété doit être définie afin de générer des commandes.
Exemples
Pour obtenir un exemple de code, consultez SqlSyncAdapterBuilder.