Parameter.Required 屬性
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.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public MustOverride Property Required As Boolean
Get
Set
'用途
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)
屬性值
型別:System.Boolean
true if the Parameter object is a required parameter; otherwise, false.