Columns Propiedad
Represents a collection of Column objects. Each Column object represents a column included in the foreign key.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(ForeignKeyColumn))> _
Public ReadOnly Property Columns As ForeignKeyColumnCollection
Get
'Uso
Dim instance As ForeignKey
Dim value As ForeignKeyColumnCollection
value = instance.Columns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(ForeignKeyColumn))]
public ForeignKeyColumnCollection Columns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny,
typeof(ForeignKeyColumn))]
public:
property ForeignKeyColumnCollection^ Columns {
ForeignKeyColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny,
typeof(ForeignKeyColumn))>]
member Columns : ForeignKeyColumnCollection
function get Columns () : ForeignKeyColumnCollection
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumnCollection
A ForeignKeyColumnCollection object that represents all the columns included in the foreign key.
Vea también