Compartilhar via


Propriedade do RDL UserDefinedFunction.Indexes

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.Design)> _
Public ReadOnly Property Indexes As IndexCollection 
    Get
'Uso
Dim instance As UserDefinedFunction 
Dim value As IndexCollection 

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

Valor da propriedade

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

Comentários

The Index property is used to define table constraints.

Exemplos

Definindo propriedades

Consulte também

Referência

UserDefinedFunction Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Funções definidas pelo usuário (Mecanismo de Banco de Dados)

CREATE FUNCTION (Transact-SQL)