取得或設定資料行的資料類型。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")> _
<XmlAttributeAttribute("type")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")> _
Public Property Type As String
'用途
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)
屬性值
資料行的資料類型。
備註
Type 和 Size 屬性會一起用來指定可變長度的資料類型。例如,在 SQL Server 中,varchar(256) 類型的資料行是透過設定 Type = "varchar" 和 Size = "256" 所表示。
請參閱
參考
DbSyncColumnDescription 類別
DbSyncColumnDescription 成員
Microsoft.Synchronization.Data 命名空間