SearchPropertyCollection.ItemById Method (Int32)


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

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

public SearchProperty ItemById(
	int id


Type: System.Int32

An Int32 value that uniquely identifies the SearchPropertyCollection object that is a member of the SearchPropertyCollection collection.

Return Value

Type: Microsoft.SqlServer.Management.Smo.SearchProperty

A SearchProperty which corresponds to the system-defined, unique identifier.

Return to top