共用方式為


StoredProcedure.NumberedStoredProcedures 屬性

Represents a collection of NumberedStoredProcedureCollection objects. Each NumberedStoredProcedure object represents a numbered stored procedure defined for the stored procedure.

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

語法

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

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

屬性值

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

範例

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

請參閱

參考

StoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)