共用方式為


Parameters 屬性

表示 StoredProcedureParameterCollection 物件的集合。每一個 StoredProcedureParameter 物件表示為預存程序定義的參數。

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

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(StoredProcedureParameter), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
Public ReadOnly Property Parameters As StoredProcedureParameterCollection
    Get
'用途
Dim instance As StoredProcedure
Dim value As StoredProcedureParameterCollection

value = instance.Parameters
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(StoredProcedureParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public StoredProcedureParameterCollection Parameters { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(StoredProcedureParameter), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design)]
public:
property StoredProcedureParameterCollection^ Parameters {
    StoredProcedureParameterCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(StoredProcedureParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)>]
member Parameters : StoredProcedureParameterCollection
function get Parameters () : StoredProcedureParameterCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureParameterCollection
StoredProcedureParameterCollection 物件,代表為預存程序定義的所有參數。