DataCommand.CreateParameter Method
Creates a parameter object that can be passed into the DeriveSchema, DeriveSchema, Execute, or ExecuteWithoutResults methods on a DataCommand instance.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Déclaration
Public Overridable Function CreateParameter As IVsDataParameter
public virtual IVsDataParameter CreateParameter()
public:
virtual IVsDataParameter^ CreateParameter()
abstract CreateParameter : unit -> IVsDataParameter
override CreateParameter : unit -> IVsDataParameter
public function CreateParameter() : IVsDataParameter
Return Value
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter
A new IVsDataParameter object instance.
Implements
IVsDataCommand.CreateParameter()
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The provider does not support this method. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.