ISiteApi.GetSiteIdByFilePath method

通过目录/文件的绝对路径获取站点Id。

  1. public int GetSiteIdByFilePath(string path)
parameter description
path 存储于站点内的目录/文件的绝对路径。

Return Value

如果目录/文件存储于站点中,则返回此站点的Id;否则返回 0。

See Also