Compartir a través de


Comando (sintaxis de ADO/WFC)

Se aplica a: Access 2013 | Access 2016

paquete com.ms.wfc.data

Constructor

public Invalid DDUE based on source, error:link not allowed in code, link filename:mdobjcommand_HV10294191.xml() 
public Command(String commandtext ) 

Métodos

public void Invalid DDUE based on source, error:link not allowed in code, link filename:mdmthadocancel_HV10294125.xml() 
public com.ms.wfc.data.Parameter Invalid DDUE based on source, error:link not allowed in code, link filename:mdmthcreateparam_HV10294243.xml(String 
 Name , int Type , int Direction , int Size , Object Value ) 
public Recordset Invalid DDUE based on source, error:link not allowed in code, link filename:mdmthcmdexecute_HV10294344.xml() 
public Recordset execute(Object[] parameters ) 
public Recordset execute(Object[] parameters , int options ) 
public int Invalid DDUE based on source, error:link not allowed in code, link filename:mdmthcmdexecute_HV10294344.xml(Object[] parameters ) 
public int executeUpdate(Object[] parameters , int options ) 
public int executeUpdate() 

El método executeUpdate es un caso especial de método que llama al método execute subyacente de ADO con ciertos parámetros. El método executeUpdate no admite la devolución de un objeto Recordset, de modo que el parámetro options del método execute se modifica con AdoEnums.ExecuteOptions.NORECORDS. Una vez que el método execute ha terminado, se pasa su parámetro RecordsAffected actualizado de nuevo al método executeUpdate, que al final se devuelve como un int.

Propiedades

public com.ms.wfc.data.Connection Invalid DDUE based on source, error:link not allowed in code, link filename:mdproactivecon_HV10293988.xml() 
public void setActiveConnection(com.ms.wfc.data.Connection con ) 
public void setActiveConnection(String conString ) 
public String Invalid DDUE based on source, error:link not allowed in code, link filename:mdprocommandtext_HV10294195.xml() 
public void setCommandText(String command ) 
public int Invalid DDUE based on source, error:link not allowed in code, link filename:mdprocommandtimeout_HV10294196.xml() 
public void setCommandTimeout(int timeout ) 
public int Invalid DDUE based on source, error:link not allowed in code, link filename:mdprocommandtype_HV10294197.xml() 
public void setCommandType(int type ) 
public String Invalid DDUE based on source, error:link not allowed in code, link filename:mdproname_HV10294535.xml() 
public void setName(String name ) 
public boolean Invalid DDUE based on source, error:link not allowed in code, link filename:mdproprepared_HV10294617.xml() 
public void setPrepared(boolean prepared ) 
public int Invalid DDUE based on source, error:link not allowed in code, link filename:mdprostate_HV10294804.xml() 
public com.ms.wfc.data.Parameter Invalid DDUE based on source, error:link not allowed in code, link filename:mdobjparameter_HV10294590.xml(int n ) 
public com.ms.wfc.data.Parameter getParameter(String n ) 
public com.ms.wfc.data.Parameters Invalid DDUE based on source, error:link not allowed in code, link filename:mdcolparameters_HV10294594.xml() 
public AdoProperties Invalid DDUE based on source, error:link not allowed in code, link filename:mdcolproperties_HV10294633.xml() 

Vea también

Soporte técnico y comentarios

¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.