共用方式為


NumberedStoredProcedure.Parameters 屬性

Represents a collection of NumberedStoredProcedureParameter objects. Each NumberedStoredProcedureParameter object represents a parameter defined for the numbered stored procedure.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(NumberedStoredProcedureParameter))> _
Public ReadOnly Property Parameters As NumberedStoredProcedureParameterCollection 
    Get
'用途
Dim instance As NumberedStoredProcedure 
Dim value As NumberedStoredProcedureParameterCollection 

value = instance.Parameters
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(NumberedStoredProcedureParameter))]
public NumberedStoredProcedureParameterCollection Parameters { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(NumberedStoredProcedureParameter))]
public:
property NumberedStoredProcedureParameterCollection^ Parameters {
    NumberedStoredProcedureParameterCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(NumberedStoredProcedureParameter))>]
member Parameters : NumberedStoredProcedureParameterCollection
function get Parameters () : NumberedStoredProcedureParameterCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.NumberedStoredProcedureParameterCollection
A NumberedStoredProcedureParameterCollection object that represents all the parameters defined for the numbered stored procedure.

範例

建立、改變和移除預存程序

請參閱

參考

NumberedStoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)