SqlAssemblyFile Constructor (SqlAssembly, String)

Initializes a new instance of the SqlAssemblyFile class for the specified assembly and with the specified name.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    sqlAssembly As SqlAssembly, _
    name As String _
)
public SqlAssemblyFile (
    SqlAssembly sqlAssembly,
    string name
)
public:
SqlAssemblyFile (
    SqlAssembly^ sqlAssembly, 
    String^ name
)
public SqlAssemblyFile (
    SqlAssembly sqlAssembly, 
    String name
)
public function SqlAssemblyFile (
    sqlAssembly : SqlAssembly, 
    name : String
)

Параметры

  • sqlAssembly
    A SqlAssembly object that specifies the assembly for which to create the assembly file.
  • name
    A String value that specifies the name of the assembly file.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Construct an Object in Visual Basic .NET

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

SqlAssemblyFile Class
SqlAssemblyFile Members
Microsoft.SqlServer.Management.Smo Namespace