共用方式為


Table.Indexes 屬性

Gets the specified index of collection in the table.

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

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.None Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public Overrides ReadOnly Property Indexes As IndexCollection 
    Get
'用途
Dim instance As Table 
Dim value As IndexCollection 

value = instance.Indexes
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)]
public override IndexCollection Indexes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Index), SfcObjectFlags::None|SfcObjectFlags::Design|SfcObjectFlags::Deploy)]
public:
virtual property IndexCollection^ Indexes {
    IndexCollection^ get () override;
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
abstract Indexes : IndexCollection
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
override Indexes : IndexCollection
override function get Indexes () : IndexCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.IndexCollection
The specified index of collection in the table.

請參閱

參考

Table 類別

Microsoft.SqlServer.Management.Smo 命名空間