共用方式為


Indexes 屬性

Represents a collection of Index objects. Each Index object represents an index defined on the user-defined function.

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

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index))> _
Public ReadOnly Property Indexes As IndexCollection
    Get
'用途
Dim instance As UserDefinedFunction
Dim value As IndexCollection

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .IndexCollection
An IndexCollection object that represents all the indexes defined on the user-defined function.

備註

The Index property is used to define table constraints.

範例

設定屬性