IdentitySeed propriété
Gets or sets the identity seed for an identity column.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property IdentitySeed As Long
Get
Set
'Utilisation
Dim instance As Column
Dim value As Long
value = instance.IdentitySeed
instance.IdentitySeed = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public long IdentitySeed { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property long long IdentitySeed {
long long get ();
void set (long long value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member IdentitySeed : int64 with get, set
function get IdentitySeed () : long
function set IdentitySeed (value : long)
Valeur de la propriété
Type : System. . :: . .Int64
An Int32 value that specifies the identity seed for an identity column.
Notes
The identity seed is the amount that the identity column is set to initially for the first new row.
The Identity property must be set to True before setting this property.
Voir aussi