Share via


ApplicationDatabaseFileCollection Class

Represents a collection of application database data files in a ApplicationDatabaseFileGroup.

命名空间: Microsoft.SqlServer.Management.Nmo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
<DefaultMemberAttribute("Item")> _
Public Class ApplicationDatabaseFileCollection
    Inherits SimpleObjectCollectionBase
[DefaultMemberAttribute("Item")] 
public class ApplicationDatabaseFileCollection : SimpleObjectCollectionBase
[DefaultMemberAttribute(L"Item")] 
public ref class ApplicationDatabaseFileCollection : public SimpleObjectCollectionBase
/** @attribute DefaultMemberAttribute("Item") */ 
public class ApplicationDatabaseFileCollection extends SimpleObjectCollectionBase
DefaultMemberAttribute("Item") 
public class ApplicationDatabaseFileCollection extends SimpleObjectCollectionBase

备注

Each ApplicationDatabaseFileGroup can have one or more application database file. Use the filegroup's ApplicationDatabaseFiles property to return an ApplicationDatabaseFileCollection and add, remove, or get individual application database files.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
     Microsoft.SqlServer.Management.Smo.SmoCollectionBase
       Microsoft.SqlServer.Management.Smo.SortedListCollectionBase
         Microsoft.SqlServer.Management.Smo.SimpleObjectCollectionBase
          Microsoft.SqlServer.Management.Nmo.ApplicationDatabaseFileCollection

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ApplicationDatabaseFileCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

其他资源

定义应用程序数据库
Database Element (ADF)