Share via


View.IsEncrypted Property

Gets or sets the Boolean property that specifies whether the view is encrypted.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy,  _
    "false")> _
Public Property IsEncrypted As Boolean 
    Get 
    Set
'Usage
Dim instance As View 
Dim value As Boolean 

value = instance.IsEncrypted

instance.IsEncrypted = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy, 
    "false")]
public bool IsEncrypted { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy, 
    L"false")]
public:
virtual property bool IsEncrypted {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy, 
    "false")>]
abstract IsEncrypted : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy, 
    "false")>]
override IsEncrypted : bool with get, set
final function get IsEncrypted () : boolean 
final function set IsEncrypted (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether the view is encrypted.If True, the view is encrypted.If False (default), the view is not encrypted.

Implements

IViewOptions.IsEncrypted

Examples

Creating, Altering, and Removing Views

See Also

Reference

View Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views

CREATE VIEW (Transact-SQL)