編輯

共用方式為


ServerInfoObject Interface

Definition

Provides information about the SharePoint Foundation server where a form is located.

public interface class ServerInfoObject : Microsoft::Office::Interop::InfoPath::ServerInfo
[System.Runtime.InteropServices.Guid("096CD77C-0786-11D1-95FA-0080C78EE3BB")]
public interface ServerInfoObject : Microsoft.Office.Interop.InfoPath.ServerInfo
type ServerInfoObject = interface
    interface ServerInfo
Public Interface ServerInfoObject
Implements ServerInfo
Derived
Attributes
Implements

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeServerInfo.

To access the ServerInfoObject object associated with the current form, use the ServerInfo property of the _XDocument4 class.

Properties

SharePointListUrl

Gets the URL of the SharePoint list where the form is located.

(Inherited from ServerInfo)
SharePointServerRootUrl

Gets the root URL of the SharePoint server where the form is located.

(Inherited from ServerInfo)
SharePointSiteCollectionUrl

Gets the URL of the SharePoint site collection where the form is located.

(Inherited from ServerInfo)
SharePointSiteUrl

Gets the URL of the SharePoint site where the form is located.

(Inherited from ServerInfo)

Applies to