View.Indexes 属性

Gets the IndexCollection object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.Deploy)> _
Public Overrides ReadOnly Property Indexes As IndexCollection 
    Get
用法
Dim instance As View 
Dim value As IndexCollection 

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

属性值

类型:Microsoft.SqlServer.Management.Smo.IndexCollection
The IndexCollection object.

请参阅

参考

View 类

Microsoft.SqlServer.Management.Smo 命名空间