Partager via


Propriété DbSyncColumnDescription.Type

Obtient ou définit le type de données de la colonne.

Espace de noms: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (dans microsoft.synchronization.data.dll)

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")> _
<XmlAttributeAttribute("type")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")> _
Public Property Type As String
'Utilisation
Dim instance As DbSyncColumnDescription
Dim value As String

value = instance.Type

instance.Type = value
[SuppressMessageAttribute("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")] 
[XmlAttributeAttribute("type")] 
[SuppressMessageAttribute("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")] 
public string Type { get; set; }
[SuppressMessageAttribute(L"Microsoft.Globalization", L"CA1308:NormalizeStringsToUppercase")] 
[XmlAttributeAttribute(L"type")] 
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1721:PropertyNamesShouldNotMatchGetMethods")] 
public:
property String^ Type {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Type ()

/** @property */
public void set_Type (String value)
public function get Type () : String

public function set Type (value : String)

Valeur de propriété

Type de données de la colonne.

Notes

Les propriétés Type et Size sont utilisées ensemble pour spécifier les types de données de longueur variable. Par exemple, dans SQL Server, une colonne de type varchar(256) est représentée en définissant Type = "varchar" et Size = "256".

Voir aussi

Référence

Classe DbSyncColumnDescription
Membres DbSyncColumnDescription
Espace de noms Microsoft.Synchronization.Data