Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StoredProcedureParameter Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the StoredProcedureParameter class.

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

NameDescription
System_CAPS_pubmethodStoredProcedureParameter()

Initializes a new instance of the StoredProcedureParameter class.

System_CAPS_pubmethodStoredProcedureParameter(StoredProcedure, String)

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

System_CAPS_pubmethodStoredProcedureParameter(StoredProcedure, String, DataType)

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

Return to top

StoredProcedureParameter Constructor ()

Initializes a new instance of the StoredProcedureParameter class.

public StoredProcedureParameter()

The default constructor initializes any fields to their default values.

Return to top

StoredProcedureParameter Constructor (StoredProcedure, String)

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

public StoredProcedureParameter(
	StoredProcedure storedProcedure,
	string name
)

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.

Return to top

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.

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:
© 2015 Microsoft