UserDefinedType.Events Property

Gets the events that are associated with the alias data type.

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

Syntax

'Declaration
Public ReadOnly Property Events As UserDefinedTypeEvents 
    Get
'Usage
Dim instance As UserDefinedType 
Dim value As UserDefinedTypeEvents 

value = instance.Events
public UserDefinedTypeEvents Events { get; }
public:
property UserDefinedTypeEvents^ Events {
    UserDefinedTypeEvents^ get ();
}
member Events : UserDefinedTypeEvents
function get Events () : UserDefinedTypeEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedTypeEvents
A UserDefinedTypeEvents object that represents the alias data type events.

Examples

Working with Data Types

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with CLR User-defined Types

CREATE TYPE (Transact-SQL)