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
'Declaration
Public Overridable Function CreateParameter As IVsDataParameter
'Usage
Dim instance As DataCommand
Dim returnValue As IVsDataParameter
returnValue = instance.CreateParameter()
public virtual IVsDataParameter CreateParameter()
public:
virtual IVsDataParameter^ CreateParameter()
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.