MqttSyncClientDeleteFile 方法 (String, String) |
[文件引擎] 删除服务器的指定的文件名,需要指定分类信息,文件名
[File Engine] Delete the specified file name of the server, need to specify the classification information, file name
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult DeleteFile(
string groups,
string fileName
)
Public Function DeleteFile (
groups As String,
fileName As String
) As OperateResult
public:
OperateResult^ DeleteFile(
String^ groups,
String^ fileName
)
member DeleteFile :
groups : string *
fileName : string -> OperateResult
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分 - fileName
- 类型:SystemString
文件名信息
返回值
类型:
OperateResult是否删除成功
参见