Chili.Opf3 Send comments on this topic.
GetStorageCommandBuilder Method
See Also 
Chili.Opf3.Storages Namespace > StorageCommandBuilderCollection Class : GetStorageCommandBuilder Method




query
The query that should be transformed to a storage dependent query.
Returns the IStorageCommandBuilder that is able to convert the given query.

Syntax

Visual Basic (Declaration) 
Public Function GetStorageCommandBuilder( _
   ByVal query As IQuery _
) As IStorageCommandBuilder
Visual Basic (Usage)Copy Code
Dim instance As StorageCommandBuilderCollection
Dim query As IQuery
Dim value As IStorageCommandBuilder
 
value = instance.GetStorageCommandBuilder(query)
C# 
public IStorageCommandBuilder GetStorageCommandBuilder( 
   IQuery query
)
Managed Extensions for C++ 
public: IStorageCommandBuilder* GetStorageCommandBuilder( 
   IQuery* query
) 
C++/CLI 
public:
IStorageCommandBuilder^ GetStorageCommandBuilder( 
   IQuery^ query
) 

Parameters

query
The query that should be transformed to a storage dependent query.

Return Value

A CompiledQuery instance that represents the storage dependent query.

Exceptions

ExceptionDescription
NotSupportedExceptionIf no class that implements the IStorageCommandBuilder interface and is registered with the storage can handle the given query.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also