共用方式為


Database.ExtendedProperties 屬性

Gets the extended properties of the database.

命名空間:  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 Database 
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 specifies the extended properties of the Database object.

實作

IExtendedProperties.ExtendedProperties

備註

Specific extended properties can be referenced by using this collection by specifying the name of the property.

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用資料庫物件

建立、改變和移除資料庫

CREATE DATABASE (Transact-SQL)