Export (0) Print
Expand All

Insert Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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


object
.Insert(
NewItem
, 
InsertBeforeItem
)

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft