다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

속성 설정