NumberedStoredProcedureCollection.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.