다음을 통해 공유


SPAlternateUrlCollectionManager members

Provides methods that can be used to perform operations on all the SPAlternateUrlCollection objects in the farm.

The SPAlternateUrlCollectionManager type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of objects in the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public property IsEmpty Gets a Boolean value that indicates whether the collection contains any objects. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[Guid] Gets the persisted object in the collection based on the specified GUID. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[String] Gets the persisted object in the collection based on the specified name. (Inherited from SPPersistedObjectCollection<T>.)
Protected property Parent Gets the parent object that declares this collection. (Inherited from SPPersistedObjectCollection<T>.)

Top

Methods

  Name Description
Public method Add Adds an object to the collection. (Inherited from SPPersistedChildCollection<T>.)
Public method DeserializeUrlFromStorage Deserializes the specified string into the appropriate URL for the specified URL zone.
Public method Ensure Adds an object to the collection and, if the object already exists, reinitializes it with the data of the existing object. (Inherited from SPPersistedChildCollection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(Guid) Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(String) Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method LookupAlternateUrl Returns the SPAlternateUrl object that contains the specified URL.
Protected method MemberwiseClone (Inherited from Object.)
Public method RebaseUriWithAlternateUri(Uri) Replaces the scheme, host, and port of the specified URI with a mapped alternate access URI.
Public method RebaseUriWithAlternateUri(Uri, Nullable<SPUrlZone>) Replaces the scheme, host, and port of the specified URI with the alternate access URI for the specified zone.
Public method Remove Deletes an object from the collection. (Inherited from SPPersistedChildCollection<T>.)
Public method SerializeUrlForStorage Serializes the specified URL in a format appropriate for persistent storage.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<SPAlternateUrl>.GetEnumerator() Gets an object that can iterate through the collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an object that can iterate through the collection.

Top

See also

Reference

SPAlternateUrlCollectionManager class

Microsoft.SharePoint.Administration namespace