NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLParameter Constructor (String, Type)

Initializes a new instance of the SQLParameter class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal parameterName As String, _
   ByVal type As Type _
)
[C#]
public SQLParameter(
   string parameterName,
   Type type
);
[C++]
public: SQLParameter(
   String* parameterName,
   Type* type
);
[JScript]
public function SQLParameter(
   parameterName : String,
   type : Type
);

Parameters

parameterName
The name of the column to map.
type
The Type of the parameter.

Exceptions

Exception Type Condition
ParameterReqFixedSize A fixed Size is required for this Type of parameter.

Remarks

The size is inferred from the value.

See Also

SQLParameter Class | SQLParameter Members | System.Data.SQL Namespace | SQLParameter Constructor Overload List