Share via


ReadTextStatement.HoldLock Property

Gets or sets a value that indicates whether the HOLDLOCK was defined.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property HoldLock As Boolean 
    Get 
    Set
'Usage
Dim instance As ReadTextStatement 
Dim value As Boolean 

value = instance.HoldLock

instance.HoldLock = value
public bool HoldLock { get; set; }
public:
property bool HoldLock {
    bool get ();
    void set (bool value);
}
member HoldLock : bool with get, set
function get HoldLock () : boolean 
function set HoldLock (value : boolean)

Property Value

Type: System.Boolean
true if the HOLDLOCK was defined; otherwise, false.

See Also

Reference

ReadTextStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace