Share via


SPAlternateUrl members

Represents an incoming URL and the zone with which it is associated.

The SPAlternateUrl type exposes the following members.

Constructors

  Name Description
Public method SPAlternateUrl() Initializes a new instance of the SPAlternateUrl class.
Public method SPAlternateUrl(String, SPUrlZone) Initializes a new instance of the SPAlternateUrl class with the specified incoming URL and URL zone.
Public method SPAlternateUrl(Uri, SPUrlZone) Initializes a new instance of the SPAlternateUrl class with the specified URI and URL zone.

Top

Properties

  Name Description
Public property Collection Gets the parent collection of URLs to which the alternate URL belongs.
Public propertyStatic member ContextUri Gets the appropriate response URL, also known as outgoing URL, for the context of the current request URL.
Public property IncomingUrl Gets the incoming URL associated with the zone of the request.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Uri Gets the incoming URL associated with the zone of the request as a URI.
Public property UrlZone Gets the zone associated with the alternate request URL.

Top

Methods

  Name Description
Public method Equals Compares two SPAlternateUrl objects to determine whether their incoming URLs match. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Serves as a hash function for the incoming URL. (Overrides Object.GetHashCode().)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public methodStatic member Lookup Returns the SPAlternateUrl object in the farm whose incoming URL matches the specified URI parameter.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPAlternateUrl class

Microsoft.SharePoint.Administration namespace