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 命名空间