Метод GetProcedureByNumber
Extracts a member from the NumberedStoredProcedureCollection collection by using a system-defined, unique identifier.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function GetProcedureByNumber ( _
number As Short _
) As NumberedStoredProcedure
'Применение
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
Параметры
- number
Тип: System. . :: . .Int16
An Int16 value specifies the number associated with the NumberedStoredProcedure object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .NumberedStoredProcedure
A NumberedStoredProcedure object that has the specified ID value.