Compartir a través de


LookupID Método

Returns the ID of the Property object in the PropertyCollection object that has the specified name.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Protected Function LookupID ( _
    propertyName As String _
) As Integer
'Uso
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

Parámetros

Valor devuelto

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

Ejemplos

Usar colecciones