--- title: "put_OLEDBCommand Method | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: "" ms.topic: conceptual helpviewer_keywords: - "put_OLEDBCommand method [ADO]" ms.assetid: ca6a5804-bf5c-4afc-99db-22904bc0b33d author: MightyPen ms.author: genemi --- # put_OLEDBCommand Method This method performs no operation and always returns S_OK. ## Syntax ``` HRESULT put_OLEDBCommand( IUnknown *pOLEDBCommand ); ``` #### Parameters *pOLEDBCommand* [in] Pointer to an OLE DB Command object. ## Applies To [IADOCommandConstruction](https://msdn.microsoft.com/library/windows/desktop/aa965677.aspx)