StoredProcedureParameter 建構函式 (StoredProcedure, String)
Initializes a new instance of the StoredProcedureParameter class for the specified stored procedure and with the specified name.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
storedProcedure As StoredProcedure, _
name As String _
)
'用途
Dim storedProcedure As StoredProcedure
Dim name As String
Dim instance As New StoredProcedureParameter(storedProcedure, _
name)
public StoredProcedureParameter(
StoredProcedure storedProcedure,
string name
)
public:
StoredProcedureParameter(
StoredProcedure^ storedProcedure,
String^ name
)
new :
storedProcedure:StoredProcedure *
name:string -> StoredProcedureParameter
public function StoredProcedureParameter(
storedProcedure : StoredProcedure,
name : String
)
參數
- storedProcedure
型別:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedure
A StoredProcedure object value that specifies the stored procedure on which the parameter is defined.
- name
型別:System. . :: . .String
A String value that specifies the name of the stored procedure parameter.