Share via


NumberedStoredProcedure Constructor

Initializes a new instance of the NumberedStoredProcedure class.

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

Syntax

'Declaration
Public Sub New ( _
    storedProcedure As StoredProcedure, _
    number As Short _
)
'Usage
Dim storedProcedure As StoredProcedure
Dim number As Short

Dim instance As New NumberedStoredProcedure(storedProcedure, _
    number)
public NumberedStoredProcedure(
    StoredProcedure storedProcedure,
    short number
)
public:
NumberedStoredProcedure(
    StoredProcedure^ storedProcedure, 
    short number
)
new : 
        storedProcedure:StoredProcedure * 
        number:int16 -> NumberedStoredProcedure
public function NumberedStoredProcedure(
    storedProcedure : StoredProcedure, 
    number : short
)

Parameters

  • number
    Type: System.Int16
    An Int16 value that specifies the number value associated with the numbered stored procedure.