共用方式為


SPFarmManagedAccountCollection class

代表伺服器陣列中的受管理帳戶的集合。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPFarmManagedAccountCollection

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<GuidAttribute("F136C998-E403-4F41-903C-40577CE12C09")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPFarmManagedAccountCollection _
    Implements ICollection(Of SPManagedAccount), IEnumerable(Of SPManagedAccount),  _
    IEnumerable
'用途
Dim instance As SPFarmManagedAccountCollection
[GuidAttribute("F136C998-E403-4F41-903C-40577CE12C09")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPFarmManagedAccountCollection : ICollection<SPManagedAccount>, 
    IEnumerable<SPManagedAccount>, IEnumerable

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.

請參閱

參照

SPFarmManagedAccountCollection members

Microsoft.SharePoint.Administration namespace