PropertyCollection.LookupID メソッド

PropertyCollection オブジェクト内で、指定された名前を持つ Property オブジェクトの ID を返します。

名前空間:  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

パラメーター

戻り値

型: System.Int32
Property オブジェクトの ID 値を示す Int32 値です。

使用例

コレクションの使用

関連項目

参照

PropertyCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

コレクションの使用