Sdílet prostřednictvím


ParameterInfo.Required Property

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.

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

Syntax

'Declaration
Public ReadOnly Property Required As Boolean 
    Get
'Usage
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

Property Value

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

See Also

Reference

ParameterInfo Class

Microsoft.SqlServer.Dts.Runtime Namespace