IUserDefinedType Interface

Defines a common interface for all user-defined types. These types include user-defined data types, user-defined table types, and user-defined CLR types.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IUserDefinedType _
    Inherits IDataType, ISchemaOwnedObject, IDatabaseObject, IMetadataObject
'Usage
Dim instance As IUserDefinedType
public interface IUserDefinedType : IDataType, 
    ISchemaOwnedObject, IDatabaseObject, IMetadataObject
public interface class IUserDefinedType : IDataType, 
    ISchemaOwnedObject, IDatabaseObject, IMetadataObject
type IUserDefinedType =  
    interface 
        interface IDataType 
        interface ISchemaOwnedObject 
        interface IDatabaseObject 
        interface IMetadataObject 
    end
public interface IUserDefinedType extends IDataType, ISchemaOwnedObject, IDatabaseObject, IMetadataObject

The IUserDefinedType type exposes the following members.

Properties

  Name Description
Public property IsCursor Gets a value that indicates whether this is a cursor data type. (Inherited from IDataType.)
Public property IsScalar Gets a value that indicates whether this is a scalar data type. (Inherited from IDataType.)
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property IsTable Gets a value that indicates whether this is a table data type. (Inherited from IDataType.)
Public property IsUnknown Gets a value that indicates whether the data type instance is a placeholder unknown type. (Inherited from IDataType.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public property Schema Gets the ISchema object that owns this object. (Inherited from ISchemaOwnedObject.)

Top

Methods

  Name Description
Public method Accept<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public method Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public method Accept<T>(ISchemaOwnedObjectVisitor<T>) Accepts a visit from the specified ISchemaOwnedObjectVisitor<T> object. (Inherited from ISchemaOwnedObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace