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)

public StoredProcedureParameter(
	StoredProcedure storedProcedure,
	string name,
	DataType dataType
)

Parameters

storedProcedure
Type: Microsoft.SqlServer.Management.Smo.StoredProcedure

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

name
Type: System.String

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

dataType
Type: Microsoft.SqlServer.Management.Smo.DataType

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

Return to top
Show: