Partilhar via


Método NumberedStoredProcedureCollection.GetProcedureByNumber

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function GetProcedureByNumber ( _
    number As Short _
) As NumberedStoredProcedure
'Uso
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

Parâmetros

Valor de retorno

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

Exemplos

Usando coleções

Consulte também

Referência

NumberedStoredProcedureCollection Classe

Namespace Microsoft.SqlServer.Management.Smo