Compartilhar via


Método Add

Adds a stored procedure to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    storedProcedure As StoredProcedure _
)
'Uso
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
)