GetFirstChildItem Method (SQL-NS)

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

Applies To
SQLNamespace Object  

Syntax

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

Part Description
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);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.