Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Returns the ID of the Property object in the PropertyCollection object that has the specified name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Function LookupID ( _
propertyName As String _
) As Integer
'Utilisation
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
Paramètres
- propertyName
Type : System.String
A String value that specifies the name of the Property object.
Valeur de retour
Type : System.Int32
An Int32 value that specifies the ID value of the Property object.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo