GetPreviousSiblingItem Method

SQL-NS

SQL-NS

GetPreviousSiblingItem Method

The GetPreviousSiblingItem method retrieves the previous sibling item, optionally matching the object type or object name.

Applies To
SQLNamespace Object
Syntax

object.GetPreviousSiblingItem(
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 GetPreviousSiblingItem(
HSQLNSITEM ItemIn,
SQLNSObjectType matchType,
BSTR matchName,
HSQLNSITEM *pItemOut);