다음을 통해 공유


SPFarmManagedAccountCollection Members

Include Protected Members
Include Inherited Members

Represents the collection of managed accounts in the farm.

The SPFarmManagedAccountCollection type exposes the following members.

Constructors

  Name Description
Public method SPFarmManagedAccountCollection Initializes a new instance of the SPFarmManagedAccountCollection class.

Top

Properties

  Name Description
Public property Count Gets the number of the accounts in the collection.
Public property IsReadOnly Gets a value that indicates whether the collection is read-only.
Public property Item Gets the SPManagedAccount object that matches the user name.

Top

Methods

  Name Description
Public method Add This member is reserved for internal use and is not intended to be used directly from your code.
Public method Clear This member is reserved for internal use and is not intended to be used directly from your code.
Public method Contains Determines whether the collection contains the specified managed account.
Public method CopyTo Copies the items in the collection into an array beginning at a specified start index in the array.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindOrCreateAccount Finds a managed account with specified user name or creates one if the managed account does not exist.
Public method GetEnumerator Gets an enumerator for the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove This member is reserved for internal use and is not intended to be used directly from your code.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that iterates through the collection.

Top

See Also

Reference

SPFarmManagedAccountCollection Class

Microsoft.SharePoint.Administration Namespace