次の方法で共有


SPVirtualServer members

NOTE: This API is now obsolete.

Obsolete. Use the SPWebApplication class or the SPIisSettings class instead. (In Windows SharePoint Services 2.0, the SPVirtualServer class represented the top-level object for a virtual server in SharePoint Foundation, and is maintained for backward compatibility.)

The SPVirtualServer type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property ApplicationPoolId Obsolete. Obsolete. Gets the ID of the application pool used in Microsoft Internet Information Services (IIS).
Public property CatchAccessDeniedException Obsolete. Obsolete. Use the CatchAccessDeniedException property of the Microsoft.SharePoint.SPSecurity class instead. (In Windows SharePoint Services 2.0, the CatchAccessDeniedException class was used to get or set a Boolean value that specified whether to handle Access denied exceptions and require user authentication, and is maintained for backward compatibility.)
Public property Config Obsolete. Obsolete. Gets the configuration settings for the virtual server.
Public property ContentDatabases Obsolete. Obsolete. Gets the collection of content databases on the virtual server.
Public property Description Obsolete. Obsolete. Gets the description for the virtual server, which is displayed in the Microsoft Internet Information Services (IIS) management console.
Public property HostName Obsolete. Obsolete. Gets the host name for the virtual server.
Public property IISInstanceId Obsolete. Obsolete. Gets the instance ID of Microsoft Internet Information Services (IIS).
Public property IisWebSiteSettings Obsolete. Obsolete. Gets the IIS Web site settings.
Public property MailCodePage Obsolete. Obsolete. Gets the language code page that is used for e-mail messages.
Public property MailFromAddress Obsolete. Obsolete. Gets the From address used in e-mail for the server.
Public property MailReplyToAddress Obsolete. Obsolete. Gets the To address used in e-mail for the server.
Public property OutboundSmtpServer Obsolete. Obsolete. Gets the name of the Simple Mail Transfer Protocol (SMTP) server that is used for outbound e-mail.
Public property Port Obsolete. Obsolete. Gets the port number for the virtual server.
Public property PresenceEnabled Obsolete. Obsolete. Gets a Boolean value that indicates whether online presence information is enabled on the virtual server.
Public property Sites Obsolete. Obsolete. Gets the collection of all site collections on the virtual server.
Public property State Obsolete. Obsolete. Gets an SPVirtualServerState value that represents the state of the virtual server.
Public property Url Obsolete. Obsolete. Gets the URL for the virtual server.
Public property Version Obsolete. Obsolete. Gets the version of SharePoint Foundation that is installed on the virtual server.
Public property VirtualServerId Obsolete. Obsolete. Gets the GUID for the virtual server.
Public property WebApplication Obsolete. Obsolete. Gets the Web application associated with the virtual server.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetWebTemplates Obsolete. Obsolete. Returns the collection of site templates for the server that is specified by the locale ID (LCID).
Public method MakeFullUrl Obsolete. Obsolete. Converts the server-relative URL of a site to a full URL that includes the name of the server.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method UpdateMailSettings Obsolete. Obsolete. Updates settings on the SMTP server that are used for e-mail on the virtual server.
Public method UpgradeVirtualServer Obsolete. Obsolete. Use members of the SPWebApplication class or the SPIisSettings class instead. (In Windows SharePoint Services 2.0, the UpgradeVirtualServer method upgraded the virtual server, and is maintained for backward compatibility.)

Top

See also

Reference

SPVirtualServer class

Microsoft.SharePoint.Administration namespace