DbSyncColumnDescription.Type 属性
获取或设置列的数据类型。
命名空间: 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 命名空间