ISiteApi.GetSitePath method (1 of 2)
获取站点文件夹绝对路径。
public string GetSitePath(int siteId)
parameter | description |
---|---|
siteId | 需要获取路径的站点Id。 |
Return Value
站点文件夹的绝对路径。
See Also
- interface ISiteApi
- namespace SiteServer.Plugin
ISiteApi.GetSitePath method (2 of 2)
获取站点文件的绝对路径。
public string GetSitePath(int siteId, string virtualPath)
parameter | description |
---|---|
siteId | 站点Id。 |
virtualPath | 相对路径。 |
Return Value
指定站点的文件绝对路径。
See Also
- interface ISiteApi
- namespace SiteServer.Plugin