共用方式為


DefaultRuleBase.ExtendedProperties 屬性

Represents a collection of ExtendedProperty objects. Each ExtendedProperty object represents an extended property on the Default object or the Rule 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 DefaultRuleBase 
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 the extended properties or the Default object or Rule object.

實作

IExtendedProperties.ExtendedProperties

範例

建立、改變和移除預設值

建立、改變和移除規則

請參閱

參考

DefaultRuleBase 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用資料庫物件

規則

預設值