Skip to content

Commit 4441988

Browse files
author
mtx48109
committed
additional class idbcreatecommandimpl
1 parent f9d4a50 commit 4441988

4 files changed

Lines changed: 35 additions & 50 deletions

File tree

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,6 +1740,11 @@
17401740
"redirect_url": "/cpp/data/oledb/iconverttypeimpl-class#canconvert",
17411741
"redirect_document_id": false
17421742
},
1743+
{
1744+
"source_path": "docs/data/oledb/idbcreatecommandimpl-createcommand.md",
1745+
"redirect_url": "/cpp/data/oledb/idbcreatecommandimpl-class#createcommand",
1746+
"redirect_document_id": false
1747+
},
17431748
{
17441749
"source_path": "docs/dotnet/index.md",
17451750
"redirect_url": "/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp",

docs/data/oledb/TOC.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
### [ICommandTextImpl Class](icommandtextimpl-class.md)
137137
### [IConvertTypeImpl Class](iconverttypeimpl-class.md)
138138
### [IDBCreateCommandImpl Class](idbcreatecommandimpl-class.md)
139-
#### [IDBCreateCommandImpl::CreateCommand](idbcreatecommandimpl-createcommand.md)
140139
### [IDBCreateSessionImpl Class](idbcreatesessionimpl-class.md)
141140
#### [IDBCreateSessionImpl::CreateSession](idbcreatesessionimpl-createsession.md)
142141
### [IDBInitializeImpl Class](idbinitializeimpl-class.md)

docs/data/oledb/idbcreatecommandimpl-class.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.technology: ["cpp-data"]
66
ms.topic: "reference"
7-
f1_keywords: ["ATL::IDBCreateCommandImpl", "IDBCreateCommandImpl", "ATL.IDBCreateCommandImpl"]
7+
f1_keywords: ["ATL::IDBCreateCommandImpl", "IDBCreateCommandImpl", "ATL.IDBCreateCommandImpl", "IDBCreateCommandImpl.CreateCommand", "CreateCommand", "IDBCreateCommandImpl::CreateCommand"]
88
dev_langs: ["C++"]
9-
helpviewer_keywords: ["IDBCreateCommandImpl class"]
9+
helpviewer_keywords: ["IDBCreateCommandImpl class", "CreateCommand method"]
1010
ms.assetid: eac4755e-1668-42e1-958e-a35620c385ae
1111
author: "mikeblome"
1212
ms.author: "mblome"
1313
ms.workload: ["cplusplus", "data-storage"]
1414
---
1515
# IDBCreateCommandImpl Class
16-
Provides an implementation of the [IDBCreateCommand](https://msdn.microsoft.com/en-us/library/ms711625.aspx) interface.
16+
Provides an implementation of the [IDBCreateCommand](https://msdn.microsoft.com/library/ms711625.aspx) interface.
1717

1818
## Syntax
1919

@@ -23,27 +23,47 @@ class ATL_NO_VTABLE IDBCreateCommandImpl
2323
: public IDBCreateCommand
2424
```
2525
26-
#### Parameters
27-
`T`
26+
### Parameters
27+
*T*
2828
The session object derived from `IDBCreateCommandImpl`.
2929
30-
`CommandClass`
30+
*CommandClass*
3131
Your command class.
32+
33+
## Requirements
34+
**Header:** atldb.h
3235
3336
## Members
3437
3538
### Interface Methods
3639
3740
|||
3841
|-|-|
39-
|[CreateCommand](../../data/oledb/idbcreatecommandimpl-createcommand.md)|Creates a new command.|
42+
|[CreateCommand](#createcommand)|Creates a new command.|
4043
4144
## Remarks
4245
An optional interface on the session object to obtain a new command.
46+
47+
## <a name="createcommand"></a> IDBCreateCommandImpl::CreateCommand
48+
Creates a new command and returns the requested interface.
4349
44-
## Requirements
45-
**Header:** atldb.h
50+
### Syntax
51+
52+
```cpp
53+
STDMETHOD(CreateCommand)(IUnknown * pUnkOuter, 
54+
REFIID riid, 
55+
IUnknown ** ppvCommand);
56+
```
57+
58+
#### Parameters
59+
See [IDBCreateCommand::CreateCommand](https://msdn.microsoft.com/library/ms709772.aspx) in the *OLE DB Programmer's Reference*.
60+
61+
Some parameters correspond to *OLE DB Programmer's Reference* parameters of different names, which are described in `IDBCreateCommand::CreateCommand`:
62+
63+
|OLE DB Template parameters|*OLE DB Programmer's Reference* parameters|
64+
|--------------------------------|------------------------------------------------|
65+
|*ppvCommand*|*ppCommand*|
4666

4767
## See Also
4868
[OLE DB Provider Templates](../../data/oledb/ole-db-provider-templates-cpp.md)
49-
[OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)
69+
[OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)

docs/data/oledb/idbcreatecommandimpl-createcommand.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)