Retrieve file information
Command Description
Get detailed information about SharePoint files
Command Prototype
objRet = SharePoint.FileInfo(spCtx ,strRelPath)
Command parameter
parameter | required | type | Default value | describe |
---|---|---|---|---|
spCtx | True | expression | spCtx | Objects returned by connecting to a SharePoint server |
strRelPath | True | string | "" | SharePoint relative path |
Return result
ObjRet, Assign the result of running the command to this variable.
Run instance
/*********************************获取文件信息**************************************
命令原型:
objRet = SharePoint.FileInfo(spCtx ,strRelPath)
入参:
spCtx--SharePoint对象.注:连接SharePoint服务器返回的对象
strRelPath--路径.注:SharePoint相对路径
出参:
objRet--函数调用的输出保存到的变量.
注意事项:
无
********************************************************************************/
Dim objRet = ""
objRet = SharePoint.FileInfo(spCtx ,"")
TracePrint(objRet)