共用方式為


SqlAssembly.AssemblySecurityLevel 屬性

Gets or sets the security level for the assembly.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AssemblySecurityLevel As AssemblySecurityLevel 
    Get 
    Set
'用途
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)

屬性值

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

範例

設定屬性

請參閱

參考

SqlAssembly 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE ASSEMBLY (Transact-SQL)