StoredProcedureParameter StoredProcedureParameter StoredProcedureParameter Constructors

Definition

Overloads

StoredProcedureParameter() StoredProcedureParameter() StoredProcedureParameter()

Initializes a new instance of the StoredProcedureParameter class.

StoredProcedureParameter(StoredProcedure, String) StoredProcedureParameter(StoredProcedure, String)

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

StoredProcedureParameter(StoredProcedure, String, DataType) StoredProcedureParameter(StoredProcedure, String, DataType)

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

StoredProcedureParameter() StoredProcedureParameter() StoredProcedureParameter()

Initializes a new instance of the StoredProcedureParameter class.

public:
 StoredProcedureParameter();
public StoredProcedureParameter ();
Public Sub New ()

Examples

Creating, Altering, and Removing Stored Procedures

Remarks

The default constructor initializes any fields to their default values.

StoredProcedureParameter(StoredProcedure, String) StoredProcedureParameter(StoredProcedure, String)

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

public:
 StoredProcedureParameter(Microsoft::SqlServer::Management::Smo::StoredProcedure ^ storedProcedure, System::String ^ name);
public StoredProcedureParameter (Microsoft.SqlServer.Management.Smo.StoredProcedure storedProcedure, string name);
Parameters
storedProcedure
StoredProcedure StoredProcedure StoredProcedure

A StoredProcedure object value that specifies the stored procedure on which the parameter is defined.

name
String String String

A String value that specifies the name of the stored procedure parameter.

Examples

Creating, Altering, and Removing Stored Procedures

StoredProcedureParameter(StoredProcedure, String, DataType) StoredProcedureParameter(StoredProcedure, String, DataType)

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

public:
 StoredProcedureParameter(Microsoft::SqlServer::Management::Smo::StoredProcedure ^ storedProcedure, System::String ^ name, Microsoft::SqlServer::Management::Smo::DataType ^ dataType);
public StoredProcedureParameter (Microsoft.SqlServer.Management.Smo.StoredProcedure storedProcedure, string name, Microsoft.SqlServer.Management.Smo.DataType dataType);
Parameters
storedProcedure
StoredProcedure StoredProcedure StoredProcedure

A StoredProcedure object value that specifies the stored procedure on which the parameter is defined.

name
String String String

A String value that specifies the name of the stored procedure parameter.

dataType
DataType DataType DataType

A DataType system object value that specifies the data type of the stored procedure parameter.

Examples

Creating, Altering, and Removing Stored Procedures

Applies to