Share via


Parameter.Required Property

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public MustOverride Property Required As Boolean 
    Get 
    Set
'Usage
Dim instance As Parameter 
Dim value As Boolean 

value = instance.Required

instance.Required = value
public abstract bool Required { get; set; }
public:
virtual property bool Required {
    bool get () abstract;
    void set (bool value) abstract;
}
abstract Required : bool with get, set
abstract function get Required () : boolean 
abstract function set Required (value : boolean)

Property Value

Type: System.Boolean
true if the Parameter object is a required parameter; otherwise, false.

See Also

Reference

Parameter Class

Microsoft.SqlServer.Dts.Runtime Namespace