GetFirstChildItem Method

SQL-NS

SQL-NS

GetFirstChildItem Method

The GetFirstChildren method retrieves the first child item, relative from the item in the SQL Namespace hierarchy, and optionally matchesthe object type or object name.

Applies To
SQLNamespace Object
Syntax

object.GetFirstChildItem(
ItemIn ,
[matchType] ,
[matchName])

Parts

object

Expression that evaluates to an object in the Applies To list

ItemIn

Handle to the item in the namespace hierarchy

matchType

Object type to match

matchName

Object name to match

Data Type

Long

Prototype (C/C++)

HRESULT GetFirstChildItem(
HSQLNSITEM ItemIn,
SQLNSObjectType matchType,
BSTR matchName,
HSQLNSITEM *pItemOut);