다음을 통해 공유


SPPrefix members

Represents a specified relative URL that is used to determine segments of the URL under which SPSite objects may be created.

The SPPrefix type exposes the following members.

Constructors

  Name Description
Public method SPPrefix Reserved for internal use.

Top

Properties

  Name Description
Public property Name Gets the server-relative URL of the prefix (without the leading forward slash).
Public property PrefixType Gets the prefix type.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Equals Determines whether the prefix and the specified object, which must also be a string object, have the same value, but when the comparison occurs during a restore operation, this method obtains an appropriate comparison operator. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code of the prefix. (Overrides Object.GetHashCode().)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
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

Fields

  Name Description
Public fieldStatic member MaxPrefixLength Indicates the maximum length in characters that can be used in a prefix.

Top

See also

Reference

SPPrefix class

Microsoft.SharePoint.Administration namespace