SqlAssembly.AssemblySecurityLevel Property

Gets or sets the security level for the assembly.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AssemblySecurityLevel As AssemblySecurityLevel 
    Get 
    Set
'Usage
Dim instance As SqlAssembly 
Dim value As AssemblySecurityLevel 

value = instance.AssemblySecurityLevel

instance.AssemblySecurityLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AssemblySecurityLevel AssemblySecurityLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AssemblySecurityLevel AssemblySecurityLevel {
    AssemblySecurityLevel get ();
    void set (AssemblySecurityLevel value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AssemblySecurityLevel : AssemblySecurityLevel with get, set
function get AssemblySecurityLevel () : AssemblySecurityLevel 
function set AssemblySecurityLevel (value : AssemblySecurityLevel)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AssemblySecurityLevel
An AssemblySecurityLevel object value that specifies the security level for the assembly.

Examples

Setting Properties

See Also

Reference

SqlAssembly Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASSEMBLY (Transact-SQL)