The Insert method adds a string to a Names collection at the position indicated.
object.Insert( NewItem , InsertBeforeItem )
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
NewItem | String naming the new item |
InsertBeforeItem | String naming an existing item or a long specifying an ordinal position |
HRESULT InsertByOrd(
SQLDMO_LPCSTR szName, long lOrdinal);
HRESULT InsertByName(
SQLDMO_LPCSTR szName, SQLDMO_LPCSTR szBeforeName);