مشاركة عبر


UserDefinedTypeCollection Class

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

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

Syntax

'Declaration
Public NotInheritable Class UserDefinedTypeCollection _
    Inherits SchemaCollectionBase
'Usage
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

Remarks

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.