VistaDB 6
VistaDB.Provider Namespace / VistaDBProviderFactory Class / CreateCommand Method


In This Topic
    CreateCommand Method (VistaDBProviderFactory)
    In This Topic
    Returns a new instance of the provider's class that implements the System.Data.Common.DbCommand class. Returns a strongly typed DbCommand instance.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function CreateCommand() As System.Data.Common.DbCommand
    'Usage
     
    
    Dim instance As VistaDBProviderFactory
    Dim value As System.Data.Common.DbCommand
     
    value = instance.CreateCommand()
    public override System.Data.Common.DbCommand CreateCommand()

    Return Value

    A new instance of System.Data.Common.DbCommand.A new strongly typed instance of DbCommand.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also