请单击以进行评分并提供反馈
MSDN
MSDN Library
SQL Server
SQL Server 2008
数据库引擎
技术参考
Column Class
 Identity Property

  开启低带宽视图
社区内容
本节内容
统计 批注 (0)
同时提供下列产品的其他版本:
Column.Identity Property

Gets or sets the Boolean property value that specifies whether the column is an identity column.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Visual Basic (Declaration)
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Identity As Boolean
C#
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)] 
public bool Identity { get; set; }
C++
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
property bool Identity {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_Identity ()

/** @property */
public void set_Identity (boolean value)
JScript
public function get Identity () : boolean

public function set Identity (value : boolean)

属性值

A Boolean value that specifies the whether the column is an identity column. If True, the column is an identity column. Otherwise, False (default).
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

开发平台

有关支持的平台的列表,请参阅安装 SQL Server 的硬件和软件要求

Target Platforms

有关支持的平台的列表,请参阅安装 SQL Server 的硬件和软件要求
社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker