다음을 통해 공유


IdentityIncrement 속성

ID 열의 ID 증가값을 가져오거나 설정합니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property IdentityIncrement As Long
    Get
    Set
‘사용 방법
Dim instance As Column
Dim value As Long

value = instance.IdentityIncrement

instance.IdentityIncrement = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public long IdentityIncrement { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property long long IdentityIncrement {
    long long get ();
    void set (long long value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IdentityIncrement : int64 with get, set
function get IdentityIncrement () : long
function set IdentityIncrement (value : long)

속성 값

유형: System. . :: . .Int64
ID 증가값을 지정하는 Int32 값입니다.

주의

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.