Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The UserDefinedDataTypeCollection class represents a collection of UserDefinedDataType objects that represent all the user-defined data types defined on a table.
The following tables list the members exposed by the UserDefinedDataTypeCollection type.
Protected Fields
| Name | Description | |
|---|---|---|
| .gif) | initialized | This value supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code. (inherited from AbstractCollectionBase) | 
Top
Public Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of objects in the referenced collection. (inherited from SmoCollectionBase) | 
| .gif) | IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (inherited from SmoCollectionBase) | 
| .gif) | Item | Overloaded. Gets a UserDefinedDataType object in the collection by name or by index number. | 
| .gif) | Parent | Gets the Database object that is the parent of the UserDefinedDataType object. | 
| .gif) | SyncRoot | Gets an object that can be used to synchronize access to the collection. (inherited from SmoCollectionBase) | 
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
| .gif) | Contains | Overloaded. (inherited from SchemaCollectionBase ) | 
| .gif) | CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (inherited from SmoCollectionBase) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | ItemById | Extracts a member from the UserDefinedDataTypeCollection collection using a system-defined, unique identifier. | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Refresh | Overloaded. Refreshes the referenced collection. (inherited from SmoCollectionBase) | 
| .gif) | ToString | (inherited from Object ) | 
Top
Protected Methods
| Name | Description | |
|---|---|---|
| .gif) | AddExisting | (inherited from AbstractCollectionBase ) | 
| .gif) | AddImpl | (inherited from SortedListCollectionBase ) | 
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | GetCollectionElementType | Returns the type of object that the collection consists of. (inherited from SmoCollectionBase) | 
| .gif) | GetItemById | Overloaded. (inherited from SmoCollectionBase ) | 
| .gif) | GetObjectByIndex | (inherited from SmoCollectionBase ) | 
| .gif) | ImplAddExisting | (inherited from SortedListCollectionBase ) | 
| .gif) | InitializeChildCollection | Overloaded. Initializes the child collections of the referenced collection. (inherited from SmoCollectionBase) | 
| .gif) | InitInnerCollection | Initializes the collection. (inherited from SchemaCollectionBase) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
| .gif) | ValidateParentObject | (inherited from SmoCollectionBase ) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo | (inherited from SmoCollectionBase ) | 
Top
See Also
Reference
UserDefinedDataTypeCollection Class
Microsoft.SqlServer.Management.Smo Namespace