网站首页  词典首页

请输入您要查询的函数:

 

术语 netdfsremovestdroot
释义 NetDfsRemoveStdRoot
语法:
C++
NET_API_STATUS NetDfsRemoveStdRoot(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in DWORD Flags
);
NetDfsRemoveStdRoot功能
删除一个独立的分布式文件系统(DFS)命名空间。
参数
服务器名 [in]
一个字符串指针,指定DFS根目录目标服务器的名称的独立的DFS名称空间被删除。此参数是必需的。
RootShare [in]
一个字符串指针,指定DFS根目录目标的立场共享名的DFS名称空间被删除。此参数是必需的。
标志 [in]
必须为零。
返回值
如果函数成功,返回值是NERR_Success。
如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。
备注
调用者必须具有在DFS服务器的管理员特权。如需有关通话功能,需要管理员权限的信息,请运行特权。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderLmDfs.h(包括LmDfs.h或Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
参见
网络管理概述
网络管理功能
分布式文件系统(DFS)功能
NetDfsAddStdRoot
NetDfsRemoveFtRoot
NetDfsRemove
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NetDfsRemoveStdRoot Function
Deletes a stand-alone Distributed File System (DFS) namespace.
Syntax
C++
NET_API_STATUS NetDfsRemoveStdRoot(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in DWORD Flags
);
Parameters
ServerName [in]
Pointer to a string that specifies the DFS root target server name of the stand-alone DFS namespace to be removed. This parameter is required.
RootShare [in]
Pointer to a string that specifies the DFS root target share name of the stand-alone DFS namespace to be removed. This parameter is required.
Flags [in]
Must be zero.
Return Value
If the function succeeds, the return value is NERR_Success.
If the function fails, the return value is a system error code. For a list of error codes, see System Error Codes .
Remarks
The caller must have Administrator privilege on the DFS server. For more information about calling functions that require administrator privileges, see Running with Special Privileges .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderLmDfs.h (include LmDfs.h or Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
See Also
Network Management Overview
Network Management Functions
Distributed File System (DFS) Functions
NetDfsAddStdRoot
NetDfsRemoveFtRoot
NetDfsRemove
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb524820(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:29:55