ForeignKeyColumn Clase

The ForeignKeyColumn object represents a SQL Server foreign key column.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcElementTypeAttribute("Column")> _
Public NotInheritable Class ForeignKeyColumn _
    Inherits NamedSmoObject _
    Implements IPropertyDataDispatch
'Uso
Dim instance As ForeignKeyColumn
[SfcElementTypeAttribute("Column")]
public sealed class ForeignKeyColumn : NamedSmoObject, 
    IPropertyDataDispatch
[SfcElementTypeAttribute(L"Column")]
public ref class ForeignKeyColumn sealed : public NamedSmoObject, 
    IPropertyDataDispatch
[<SealedAttribute>]
[<SfcElementTypeAttribute("Column")>]
type ForeignKeyColumn =  
    class
        inherit NamedSmoObject
        interface IPropertyDataDispatch
    end
public final class ForeignKeyColumn extends NamedSmoObject implements IPropertyDataDispatch

Notas

To get ForeignKeyColumn object properties, users can be a member of the public fixed server role.

To set ForeignKeyColumn object properties, users must have ALTER permission on the parent table or be a member of the db_owner fixed database role.

To create or drop a foreign key column, users must have ALTER permission on the parent table or be a member of the db_owner fixed database role.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.