Compartilhar via


Propriedade do RDL IdentityIncrement

Obtém ou define o incremento de identidade de uma coluna de identidade.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property IdentityIncrement As Long
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .Int64
Um valor Int32 que especifica o incremento de identidade.

Comentários

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.