Partager via


Méthode Add

Adds a user-defined function to the collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    userDefinedFunction As UserDefinedFunction _
)
'Utilisation
Dim instance As UserDefinedFunctionCollection
Dim userDefinedFunction As UserDefinedFunction

instance.Add(userDefinedFunction)
public void Add(
    UserDefinedFunction userDefinedFunction
)
public:
void Add(
    UserDefinedFunction^ userDefinedFunction
)
member Add : 
        userDefinedFunction:UserDefinedFunction -> unit 
public function Add(
    userDefinedFunction : UserDefinedFunction
)