Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LookupID Method

PropertyCollection.LookupID Method

Returns the ID of the Property object in the PropertyCollection object that has the specified name.

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

protected int LookupID(
	string propertyName


Type: String
A String value that specifies the name of the Property object.

Return Value

Type: Int32
An Int32 value that specifies the ID value of the Property object.

Community Additions

© 2015 Microsoft