Compartilhar via


Insert Method

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The Insert method adds a string to a Names collection at the position indicated.

Sintaxe

object.Insert(NewItem, InsertBeforeItem)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • NewItem
    String that names the new item.

  • InsertBeforeItem
    String that names an existing item or a long that specifies an ordinal position.

Prototype (C/C++)

HRESULT InsertByOrd(
SQLDMO_LPCSTR szName, long lOrdinal);
HRESULT InsertByName(
SQLDMO_LPCSTR szName, SQLDMO_LPCSTR szBeforeName);

Applies To: