点击或拖拽改变大小

MqttSyncClientRenameFolder 方法

[文件引擎] 重命名服务器上指定的路径信息,需要指定新的路径名称,当新的路径已经存在的时候,命名失败。
[File Engine] Renames the specified path information on the server, you need to specify a new path name, and when the new path already exists, the naming fails.

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult RenameFolder(
	string groups,
	string newName
)

参数

groups
类型:SystemString
旧的路径信息
newName
类型:SystemString
新的路径名称

返回值

类型:OperateResult
是否重命名成功
参见