Sdílet prostřednictvím


SqlAssemblyFile Class

The SqlAssemblyFile object represents an assembly file that stores an assembly.

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

Syntax

'Declaration
Public NotInheritable Class SqlAssemblyFile _
    Inherits ScriptNameObjectBase
'Usage
Dim instance As SqlAssemblyFile
public sealed class SqlAssemblyFile : ScriptNameObjectBase
public ref class SqlAssemblyFile sealed : public ScriptNameObjectBase
[<SealedAttribute>]
type SqlAssemblyFile =  
    class
        inherit ScriptNameObjectBase
    end
public final class SqlAssemblyFile extends ScriptNameObjectBase

Remarks

To get SqlAssemblyFile object permissions, users can be a member of the public fixed server role.

To set SqlAssemblyFile object permissions, users must have ALTER permission on the parent assembly.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.