--- title: "Command Property (ADOX) | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: "" ms.topic: conceptual apitype: "COM" f1_keywords: - "Procedure::Command" - "View::Command" helpviewer_keywords: - "Command property [ADOX]" ms.assetid: bcc9146f-586f-4e69-9c10-863440c9cffa author: MightyPen ms.author: genemi --- # Command Property (ADOX) Specifies an ADO [Command](../../../ado/reference/ado-api/command-object-ado.md) object that can be used to create or execute the procedure. ## Settings and Return Values Sets or returns a valid ADO **Command** object. ## Remarks An error will occur when getting and setting this property if the provider does not support persisting commands. ## Applies To ||| |-|-| |[Procedure Object (ADOX)](../../../ado/reference/adox-api/procedure-object-adox.md)|[View Object (ADOX)](../../../ado/reference/adox-api/view-object-adox.md)| ## See Also [Command and CommandText Properties Example (VB)](../../../ado/reference/adox-api/command-and-commandtext-properties-example-vb.md) [Parameters Collection, Command Property Example (VB)](../../../ado/reference/adox-api/parameters-collection-command-property-example-vb.md) [Views and Fields Collections Example (VB)](../../../ado/reference/adox-api/views-and-fields-collections-example-vb.md) [Views Collection, CommandText Property Example (VB)](../../../ado/reference/adox-api/views-collection-commandtext-property-example-vb.md)