IdentityIncrement 屬性
Gets or sets the identity increment for an identity column.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property IdentityIncrement As Long
Get
Set
'用途
Dim instance As Column
Dim value As Long
value = instance.IdentityIncrement
instance.IdentityIncrement = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public long IdentityIncrement { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property long long IdentityIncrement {
long long get ();
void set (long long value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member IdentityIncrement : int64 with get, set
function get IdentityIncrement () : long
function set IdentityIncrement (value : long)
屬性值
型別:System. . :: . .Int64
An Int32 value that specifies the identity increment.
備註
The identity increment is the amount that the identity column increases for each new row.
The Identity property must be set to True before setting this property.