Share via


VariableClass.ReadOnly Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

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

Property Value

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

Implements

IDTSVariable100.ReadOnly

See Also

Reference

VariableClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace