Export (0) Print
Expand All

SmoCollectionBase.GetItemById Method (Int32)

Extracts a member from the referenced collection using a system-defined, unique identifier.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected SqlSmoObject GetItemById(
	int id


Type: System.Int32
An Int32 value that uniquely identifies the object that is a member of the referenced collection.

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
An Object system object that has the specified ID value.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Community Additions

© 2015 Microsoft