Freigeben über


AdoDotNetConnectionSupport.CreateParameterFrom Method

Creates a new data parameter with interface IVsDataProvider, using a copy of the specified data parameter.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Function CreateParameterFrom ( _
    parameter As DbParameter _
) As IVsDataParameter
protected virtual IVsDataParameter CreateParameterFrom(
    DbParameter parameter
)
protected:
virtual IVsDataParameter^ CreateParameterFrom(
    DbParameter^ parameter
)
abstract CreateParameterFrom : 
        parameter:DbParameter -> IVsDataParameter 
override CreateParameterFrom : 
        parameter:DbParameter -> IVsDataParameter 
protected function CreateParameterFrom(
    parameter : DbParameter
) : IVsDataParameter

Parameters

Return Value

Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter
An IVsDataProvider object instance.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace