Share 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 _
)
'Usage
Dim storedProcedure As StoredProcedure
Dim name As String

Dim instance As New StoredProcedureParameter(storedProcedure, _
    name)
public StoredProcedureParameter(
    StoredProcedure storedProcedure,
    string name
)
public:
StoredProcedureParameter(
    StoredProcedure^ storedProcedure, 
    String^ name
)
new : 
        storedProcedure:StoredProcedure * 
        name:string -> StoredProcedureParameter
public function StoredProcedureParameter(
    storedProcedure : StoredProcedure, 
    name : String
)

Parameters

  • name
    Type: System.String
    A String value that specifies the name of the stored procedure parameter.