共用方式為


RaiseErrorStatement.OptionalParameters 屬性

Gets a list of optional parameters. Can be a string, a variable, an integer or a negative integer.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public ReadOnly Property OptionalParameters As IList(Of ScalarExpression)
    Get
'用途
Dim instance As RaiseErrorStatement 
Dim value As IList(Of ScalarExpression)

value = instance.OptionalParameters
public IList<ScalarExpression> OptionalParameters { get; }
public:
property IList<ScalarExpression^>^ OptionalParameters {
    IList<ScalarExpression^>^ get ();
}
member OptionalParameters : IList<ScalarExpression>
function get OptionalParameters () : IList<ScalarExpression>

屬性值

型別:System.Collections.Generic.IList<ScalarExpression>
A list of optional parameters.

請參閱

參考

RaiseErrorStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間