SystemDataType.AllowIdentity Property
Applies To: SQL Server 2016 Preview
Gets the Boolean property that specifies whether the system data type allows an identity value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)]
public bool AllowIdentity { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Matrix)]
property bool AllowIdentity {
bool get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)>]
member AllowIdentity : bool with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property AllowIdentity As Boolean
Property Value
Type: System.Boolean
A Boolean value that specifies whether the system data type allows an identity value.
If True, the system data type allows an identity value.
If False, the system data type does not allow an identity value.
Examples
Legacy Code Example
See Also
SystemDataType Class
Microsoft.SqlServer.Management.Smo Namespace
Unable to find linked topic '63de7291-e226-45cd-9526-6b11b7c3c3f2'.
Return to top