Udostępnij przez


Właściwość SystemDataType.AllowIdentity

Pobiera Boolean właściwość, która określa, czy zezwala systemowy typ danych wartości tożsamości.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AllowIdentity As Boolean
    Get
'Użycie
Dim instance As SystemDataType
Dim value As Boolean

value = instance.AllowIdentity
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AllowIdentity { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AllowIdentity {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AllowIdentity : bool
function get AllowIdentity () : boolean

Wartość właściwości

Typ: System.Boolean
A Boolean wartość, która określa, czy zezwala systemowy typ danych wartości tożsamości.
Jeśli True, typ danych systemu umożliwia wartość tożsamości.
Jeśli ma wartość FAŁSZ, typ danych systemu nie zezwala na wartości tożsamości.