Compartilhar via


Propriedade do RDL ReadTextStatement.HoldLock

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

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

Sintaxe

'Declaração
Public Property HoldLock As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

ReadTextStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom