다음을 통해 공유


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

매개 변수

반환 값

유형: System. . :: . .Int32
An Int32 value that specifies the ID value of the Property object.