VariableClass.ReadOnly 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets a value that indicates whether the variable class is read-only and cannot have its value modified.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Public Overridable Property ReadOnly As Boolean 
    Get 
    Set
用法
Dim instance As VariableClass 
Dim value As Boolean 

value = instance.ReadOnly

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

属性值

类型:System.Boolean
true if the variable class is read-only; otherwise, false.

实现

IDTSVariable100.ReadOnly

请参阅

参考

VariableClass 类

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间