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.