Sdílet prostřednictvím


UserDefinedType.Drop Method

Removes the alias data type from the instance of SQL Server.

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

Syntax

'Declaration
Public Sub Drop
'Usage
Dim instance As UserDefinedType

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit  
override Drop : unit -> unit
public final function Drop()

Implements

IDroppable.Drop()

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Data Types

Working with CLR User-defined Types

DROP TYPE (Transact-SQL)