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.