PropertyCollection.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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間