ForeignKey.UpdateAction 속성

Gets or sets the Boolean property value that specifies whether the foreign key supports cascading updates.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property UpdateAction As ForeignKeyAction 
    Get 
    Set
‘사용 방법
Dim instance As ForeignKey 
Dim value As ForeignKeyAction 

value = instance.UpdateAction

instance.UpdateAction = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public ForeignKeyAction UpdateAction { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property ForeignKeyAction UpdateAction {
    ForeignKeyAction get ();
    void set (ForeignKeyAction value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member UpdateAction : ForeignKeyAction with get, set
function get UpdateAction () : ForeignKeyAction 
function set UpdateAction (value : ForeignKeyAction)

속성 값

유형: Microsoft.SqlServer.Management.Smo.ForeignKeyAction
A Boolean value that specifies whether the foreign key supports cascading updates.If True, all rows containing the foreign key are also updated when you attempt to update a row with a key that is referenced by the foreign key.If False (default), the foreign key is not updated.

참고 항목

참조

ForeignKey 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스