Exportar (0) Imprimir
Expandir Tudo

Classe UserDefinedFunctionCollection

The UserDefinedFunctionCollection class represents a collection of UserDefinedFunction objects that represent all the user-defined functions that are defined on a table.

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

public sealed class UserDefinedFunctionCollection : SchemaCollectionBase

O tipo UserDefinedFunctionCollection expõe os membros a seguir.

  NomeDescrição
Propriedade públicaCountGets the number of objects in the referenced collection. (Herdado de SmoCollectionBase.)
Propriedade públicaIsSynchronizedGets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Herdado de SmoCollectionBase.)
Propriedade públicaItem[([(Int32])])Gets a UserDefinedFunction object in the collection by index number.
Propriedade públicaItem[([(String])])Gets a UserDefinedFunction object in the collection by name.
Propriedade públicaItem[([(String, String])])Gets a UserDefinedFunction object in the collection by name and schema.
Propriedade públicaParentGets the Database object that is the parent of the UserDefinedFunction object.
Propriedade públicaSyncRootGets an object that can be used to synchronize access to the collection. (Herdado de SmoCollectionBase.)
Início

  NomeDescrição
Método públicoAddAdds a user-defined function to the collection.
Método protegidoAddExistingAdds an object to the collection. (Herdado de AbstractCollectionBase.)
Método protegidoAddImplAdds the specified object to this collection (Herdado de SortedListCollectionBase.)
Método públicoContains(String)Validates whether the parameter collection contains a member with a name equal to the specified string. (Herdado de SchemaCollectionBase.)
Método públicoContains(String, String)Validates whether the parameter collection contains a member with a name equal to the specified string and with the specified schema. (Herdado de SchemaCollectionBase.)
Método públicoCopyToCopies the collection objects to a one-dimensional array starting at the specidied index value.
Método públicoEquals (Herdado de Object.)
Método protegidoFinalize (Herdado de Object.)
Método protegidoGetCollectionElementTypeGets the Collection Element Type. (Herdado de SmoCollectionBase.)
Método públicoGetEnumeratorReturns an IEnumerator interface that allows you to iterate through the objects in the collection. (Herdado de SmoCollectionBase.)
Método públicoGetHashCode (Herdado de Object.)
Método protegidoGetItemById(Int32)Extracts a member from the referenced collection using a system-defined, unique identifier. (Herdado de SmoCollectionBase.)
Método protegidoGetItemById(Int32, String)Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Herdado de SmoCollectionBase.)
Método protegidoGetObjectByIndexExtracts a member from the referenced collection using a system-defined, unique identifier. (Herdado de SmoCollectionBase.)
Método públicoGetType (Herdado de Object.)
Método protegidoImplAddExistingAdds an existing specified object to this collection (Herdado de SortedListCollectionBase.)
Método protegidoInitializeChildCollection()()()()Initializes the child collections of the referenced collection. (Herdado de SmoCollectionBase.)
Método protegidoInitializeChildCollection(Boolean)Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Herdado de SmoCollectionBase.)
Método protegidoInitInnerCollectionInitializes the collection. (Herdado de SchemaCollectionBase.)
Método públicoItemByIdExtracts a member from the UserDefinedFunctionCollection collection by using a system-defined, unique identifier.
Método protegidoMemberwiseClone (Herdado de Object.)
Método públicoRefresh()()()()Refreshes the referenced collection. (Herdado de SmoCollectionBase.)
Método públicoRefresh(Boolean)Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Herdado de SmoCollectionBase.)
Método públicoToString (Herdado de Object.)
Método protegidoValidateParentObjectValidates the parent object exists. (Herdado de SmoCollectionBase.)
Início

  NomeDescrição
Campo protegidoinitializedThis value supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de AbstractCollectionBase.)
Início

  NomeDescrição
Implementações de interfaces explícitasMétodo privadoICollection..::..CopyToCopies the elements from an instance to an array beginning at the index indicated. (Herdado de SmoCollectionBase.)
Início

A UserDefinedFunctionCollection object can be used to gain access to a set of user-defined functions. You can use the Item property to return a specific UserDefinedFunction object.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2014 Microsoft