StoredProcedureCollection.Add Method
Adds a stored procedure to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
storedProcedure As StoredProcedure _
)
'Usage
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
)
Parameters
- storedProcedure
Type: Microsoft.SqlServer.Management.Smo.StoredProcedure
StoredProcedure