ForeignKey.IsEnabled Özelliği
Alır veya ayarlar Boolean özellik değeri yabancı anahtar etkin olup olmadığını belirtir.
Ad Alanı: Microsoft.SqlServer.Management.Smo
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property IsEnabled As Boolean
Get
Set
'Kullanım
Dim instance As ForeignKey
Dim value As Boolean
value = instance.IsEnabled
instance.IsEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool IsEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool IsEnabled {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)
Özellik Değeri
Tür: System.Boolean
A Boolean yabancı anahtar etkin olup olmadığını belirten değer.
TRUE ise, yabancı anahtar etkinleştirilir.
Yoksa False (varsayılan), yabancı anahtar etkin değil.
Ayrıca bkz.