Partager via


Méthode Add

Adds a stored procedure 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 ( _
    storedProcedure As StoredProcedure _
)
'Utilisation
Dim instance As StoredProcedureCollection
Dim storedProcedure As StoredProcedure

instance.Add(storedProcedure)
public void Add(
    StoredProcedure storedProcedure
)
public:
void Add(
    StoredProcedure^ storedProcedure
)
member Add : 
        storedProcedure:StoredProcedure -> unit 
public function Add(
    storedProcedure : StoredProcedure
)