次の方法で共有


ExtendedProperties プロパティ

データベースの拡張プロパティを取得します。

名前空間:  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
Database オブジェクトの拡張プロパティを示す ExtendedPropertyCollection オブジェクト。

実装

IExtendedProperties. . :: . .ExtendedProperties

説明

このコレクションを使用し、プロパティ名を指定することによって、特定の拡張プロパティを参照できます。