Share via


Classe UserDefinedTypeCollection

The UserDefinedTypeCollection class represents a collection of UserDefinedType objects that represent all the alias data types that are defined on a table.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class UserDefinedTypeCollection _
    Inherits SchemaCollectionBase
'Utilisation
Dim instance As UserDefinedTypeCollection
public sealed class UserDefinedTypeCollection : SchemaCollectionBase
public ref class UserDefinedTypeCollection sealed : public SchemaCollectionBase
[<SealedAttribute>]
type UserDefinedTypeCollection =  
    class
        inherit SchemaCollectionBase
    end
public final class UserDefinedTypeCollection extends SchemaCollectionBase

Notes

A UserDefinedTypeCollection object can be used to gain access to a set of alias data types. You can use the Item property to return a specific UserDefinedType object.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.