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
- number
Tipo: System.Int16
An Int16 value specifies the number associated with the NumberedStoredProcedure object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.NumberedStoredProcedure
A NumberedStoredProcedure object that has the specified ID value.