Insert Method

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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

構文

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:

Names Collection