Méthode GetProcedureByNumber

Extracts a member from the NumberedStoredProcedureCollection collection by using a system-defined, unique identifier.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function GetProcedureByNumber ( _
    number As Short _
) As NumberedStoredProcedure
'Utilisation
Dim instance As NumberedStoredProcedureCollection
Dim number As Short
Dim returnValue As NumberedStoredProcedure

returnValue = instance.GetProcedureByNumber(number)
public NumberedStoredProcedure GetProcedureByNumber(
    short number
)
public:
NumberedStoredProcedure^ GetProcedureByNumber(
    short number
)
member GetProcedureByNumber : 
        number:int16 -> NumberedStoredProcedure 
public function GetProcedureByNumber(
    number : short
) : NumberedStoredProcedure

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo. . :: . .NumberedStoredProcedure
A NumberedStoredProcedure object that has the specified ID value.