Export (0) Print
Expand All

SqlCommand.CreateParameter Method

Creates a new instance of a SqlParameter object.

[Visual Basic]
Public Function CreateParameter() As SqlParameter
[C#]
public SqlParameter CreateParameter();
[C++]
public: SqlParameter* CreateParameter();
[JScript]
public function CreateParameter() : SqlParameter;

Return Value

A SqlParameter object.

Remarks

The CreateParameter method is a strongly-typed version of CreateParameter.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlCommand Class | SqlCommand Members | System.Data.SqlClient Namespace

Show:
© 2015 Microsoft