Partilhar via


StoredProcedureParameter Constructor (StoredProcedure, String)

Initializes a new instance of the StoredProcedureParameter class for the specified stored procedure and with the specified name.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub New ( _
    storedProcedure As StoredProcedure, _
    name As String _
)
public StoredProcedureParameter (
    StoredProcedure storedProcedure,
    string name
)
public:
StoredProcedureParameter (
    StoredProcedure^ storedProcedure, 
    String^ name
)
public StoredProcedureParameter (
    StoredProcedure storedProcedure, 
    String name
)
public function StoredProcedureParameter (
    storedProcedure : StoredProcedure, 
    name : String
)

Parameters

  • storedProcedure
    A StoredProcedure object value that specifies the stored procedure on which the parameter is defined.
  • name
    A String value that specifies the name of the stored procedure parameter.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create, Alter, and Remove a Stored Procedure in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

StoredProcedureParameter Class
StoredProcedureParameter Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Stored Procedures