StoredProcedure.Parameters 属性
Represents a collection of StoredProcedureParameterCollection objects. Each StoredProcedureParameter object represents a parameter defined for the stored procedure.
命名空间: 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
A StoredProcedureParameterCollection object that represents all the parameter defined for the stored procedure.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间