Clase UserDefinedTableTypeCollection

The UserDefinedTableTypeCollection class represents a collection of UserDefinedTableType objects that represent all the user-defined table types that are defined on a database.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

public sealed class UserDefinedTableTypeCollection : SchemaCollectionBase

El tipo UserDefinedTableTypeCollection expone los siguientes miembros.

  NombreDescripción
Propiedad públicaCountGets the number of objects in the referenced collection. (Se hereda de SmoCollectionBase.)
Propiedad públicaIsSynchronizedGets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Se hereda de SmoCollectionBase.)
Propiedad públicaItem[([(Int32])])Gets a UserDefinedTableType object in the collection by index number.
Propiedad públicaItem[([(String])])Gets a UserDefinedTableType object in the collection by name.
Propiedad públicaItem[([(String, String])])Gets a UserDefinedTableType object in the collection by name and schema.
Propiedad públicaParentGets the Database object that is the parent of the UserDefinedTableType object.
Propiedad públicaSyncRootGets an object that can be used to synchronize access to the collection. (Se hereda de SmoCollectionBase.)
Arriba

  NombreDescripción
Método públicoAddAdds the specified UserDefinedTableType object to the collection.
Método protegidoAddExistingAdds an object to the collection. (Se hereda de AbstractCollectionBase.)
Método protegidoAddImplAdds the specified object to this collection (Se hereda de SortedListCollectionBase.)
Método públicoContains(String)Validates whether the parameter collection contains a member with a name equal to the specified string. (Se hereda 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. (Se hereda de SchemaCollectionBase.)
Método públicoCopyToCopies the collection objects to a one-dimensional array starting at the index value specified.
Método públicoEquals (Se hereda de Object.)
Método protegidoFinalize (Se hereda de Object.)
Método protegidoGetCollectionElementTypeGets the Collection Element Type. (Se hereda de SmoCollectionBase.)
Método públicoGetEnumeratorReturns an IEnumerator interface that allows you to iterate through the objects in the collection. (Se hereda de SmoCollectionBase.)
Método públicoGetHashCode (Se hereda de Object.)
Método protegidoGetItemById(Int32)Extracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase.)
Método protegidoGetItemById(Int32, String)Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Se hereda de SmoCollectionBase.)
Método protegidoGetObjectByIndexExtracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase.)
Método públicoGetType (Se hereda de Object.)
Método protegidoImplAddExistingAdds an existing specified object to this collection (Se hereda de SortedListCollectionBase.)
Método protegidoInitializeChildCollection()()()()Initializes the child collections of the referenced collection. (Se hereda 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. (Se hereda de SmoCollectionBase.)
Método protegidoInitInnerCollectionInitializes the collection. (Se hereda de SchemaCollectionBase.)
Método públicoItemByIdExtracts a member from the UserDefinedTableTypeCollection collection by using a system-defined, unique identifier.
Método protegidoMemberwiseClone (Se hereda de Object.)
Método públicoRefresh()()()()Refreshes the referenced collection. (Se hereda de SmoCollectionBase.)
Método públicoRefresh(Boolean)Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Se hereda de SmoCollectionBase.)
Método públicoToString (Se hereda de Object.)
Método protegidoValidateParentObjectValidates the parent object exists. (Se hereda de SmoCollectionBase.)
Arriba

  NombreDescripción
Campo protegidoinitializedThis value supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de AbstractCollectionBase.)
Arriba

  NombreDescripción
Implementación de interfaces explícitasMétodo privadoICollection..::..CopyToCopies the elements from an instance to an array beginning at the index indicated. (Se hereda de SmoCollectionBase.)
Arriba

A UserDefinedTableTypeCollection object can be used to gain access to a set of user-defined table types. You can use the Item property to return a specific UserDefinedTableType object.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Adiciones de comunidad

AGREGAR
Mostrar: