Metodo PropertyCollection.LookupID

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Function LookupID ( _
    propertyName As String _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

PropertyCollection Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Utilizzo delle raccolte