共用方式為


ParameterInfo.Required 屬性

Gets a value that indicates whether the current parameter is a required parameter. If this value is true, a value must be assigned before a project or package can be executed.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public ReadOnly Property Required As Boolean 
    Get
'用途
Dim instance As ParameterInfo 
Dim value As Boolean 

value = instance.Required
public bool Required { get; }
public:
property bool Required {
    bool get ();
}
member Required : bool
function get Required () : boolean

屬性值

型別:System.Boolean
true if the current parameter is a required parameter; otherwise, false.

請參閱

參考

ParameterInfo 類別

Microsoft.SqlServer.Dts.Runtime 命名空間