Udostępnij przez


StoredProcedureParameter Constructor (StoredProcedure, String, DataType)

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

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

Syntax

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

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.
  • dataType
    A DataType system object value that specifies the data type of the stored procedure parameter.

Platforms

Development Platforms

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

Target Platforms

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