Dela via


UserDefinedTypeCollection.Add Method

Adds a user-defined type to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    userDefinedType As UserDefinedType _
)
'Usage
Dim instance As UserDefinedTypeCollection
Dim userDefinedType As UserDefinedType

instance.Add(userDefinedType)
public void Add(
    UserDefinedType userDefinedType
)
public:
void Add(
    UserDefinedType^ userDefinedType
)
member Add : 
        userDefinedType:UserDefinedType -> unit 
public function Add(
    userDefinedType : UserDefinedType
)