Share via


SPFarmManagedAccountCollection.Add method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub Add ( _
    acct As SPManagedAccount _
)
'Usage
Dim instance As SPFarmManagedAccountCollection
Dim acct As SPManagedAccount

instance.Add(acct)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void Add(
    SPManagedAccount acct
)

Parameters

Implements

ICollection<T>.Add(T)

See also

Reference

SPFarmManagedAccountCollection class

SPFarmManagedAccountCollection members

Microsoft.SharePoint.Administration namespace