StoredProcedure Class

Represents a stored procedure within a database.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Management.DatabaseManager.StoredProcedure

Namespace:  Microsoft.Web.Management.DatabaseManager
Assembly:  Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)

Syntax

'Declaration
Public Class StoredProcedure
'Usage
Dim instance As StoredProcedure
public class StoredProcedure
public ref class StoredProcedure
public class StoredProcedure

The StoredProcedure type exposes the following members.

Constructors

  Name Description
Public method StoredProcedure Creates a new instance of the StoredProcedure class.

Top

Properties

  Name Description
Public property Definition Gets or sets the definition for a stored procedure.
Public property Name Gets or sets the name for a stored procedure.
Public property Schema Gets or sets the schema name for a stored procedure.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Stored procedures are collections of SQL code that execute on the server, and are often used in place of queries. For example, you could create a stored procedure that performs a query that is based on values that are calculated from parameters that you pass to the stored procedure.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Management.DatabaseManager Namespace