共用方式為


ForeignKey.ExtendedProperties 屬性

Represents a collection of ExtendedProperty objects. Each ExtendedProperty object represents an extended property on the ForeignKey object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ExtendedProperty))> _
Public ReadOnly Property ExtendedProperties As ExtendedPropertyCollection 
    Get
'用途
Dim instance As ForeignKey 
Dim value As ExtendedPropertyCollection 

value = instance.ExtendedProperties
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))]
public ExtendedPropertyCollection ExtendedProperties { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ExtendedProperty))]
public:
virtual property ExtendedPropertyCollection^ ExtendedProperties {
    ExtendedPropertyCollection^ get () sealed;
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))>]
abstract ExtendedProperties : ExtendedPropertyCollection
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))>]
override ExtendedProperties : ExtendedPropertyCollection
final function get ExtendedProperties () : ExtendedPropertyCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.ExtendedPropertyCollection
An ExtendedPropertyCollection object that represents all the extended properties of the ForeignKey object.

實作

IExtendedProperties.ExtendedProperties

範例

建立、改變和移除外部索引鍵

請參閱

參考

ForeignKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

建立與修改 FOREIGN KEY 條件約束

CREATE TABLE (Transact-SQL)