Метод LookupID
Returns the ID of the Property object in the PropertyCollection object that has the specified name.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Function LookupID ( _
propertyName As String _
) As Integer
'Применение
Dim propertyName As String
Dim returnValue As Integer
returnValue = Me.LookupID(propertyName)
protected int LookupID(
string propertyName
)
protected:
int LookupID(
String^ propertyName
)
member LookupID :
propertyName:string -> int
protected function LookupID(
propertyName : String
) : int
Параметры
- propertyName
Тип: System. . :: . .String
A String value that specifies the name of the Property object.
Возвращаемое значение
Тип: System. . :: . .Int32
An Int32 value that specifies the ID value of the Property object.
См. также