Partilhar via


Propriedade do RDL DatabaseDdlTrigger.IsEncrypted

Gets or sets a Boolean property value that specifies whether the Transact-SQL batch or managed code is encrypted.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property IsEncrypted As Boolean 
    Get 
    Set
'Uso
Dim instance As DatabaseDdlTrigger 
Dim value As Boolean 

value = instance.IsEncrypted

instance.IsEncrypted = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool IsEncrypted { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
property bool IsEncrypted {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
member IsEncrypted : bool with get, set
function get IsEncrypted () : boolean 
function set IsEncrypted (value : boolean)

Valor da propriedade

Tipo: System.Boolean
A Boolean property value that specifies whether the trigger code is encrypted.If True, the trigger code is encrypted. Otherwise, False (default).

Exemplos

Definindo propriedades

Consulte também

Referência

DatabaseDdlTrigger Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE TRIGGER (Transact-SQL)

Gatilhos DDL