Udostępnij za pośrednictwem


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
public sealed class SqlAssemblyFile : ScriptNameObjectBase
public ref class SqlAssemblyFile sealed : public ScriptNameObjectBase
public final class SqlAssemblyFile extends ScriptNameObjectBase
public final class SqlAssemblyFile extends ScriptNameObjectBase

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Microsoft.SqlServer.Management.Smo.NamedSmoObject
         Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase
          Microsoft.SqlServer.Management.Smo.SqlAssemblyFile

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SqlAssemblyFile Members
Microsoft.SqlServer.Management.Smo Namespace