PropertyCollection.LookupID Method (String)


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: System.String

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

Return Value

Type: System.Int32

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

Return to top