다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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