网站首页  词典首页

请输入您要查询的函数:

 

术语 netdfsremoveftroot
释义 NetDfsRemoveFtRoot
语法:
C++
NET_API_STATUS NetDfsRemoveFtRoot(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in LPWSTR FtDfsName,
__reserved DWORD Flags
);
NetDfsRemoveFtRoot功能
从域删除指定的根对象的分布式文件系统(DFS)命名空间。如果DFS名称空间根的目标是最后被删除,删除的功能还DFS名称空间。 DFS命名空间可以被删除不先删除中的所有环节。
参数
服务器名 [in]
一个字符串指针,指定目标的根服务器的名称被删除。服务器必须承载一个域根的DFS名称空间。此参数是必需的。
RootShare [in]
指针指向一个字符串指定DFS根目录目标共享名被删除。此参数是必需的。
FtDfsName [in]
一个字符串指针,指定域的名称的DFS名称空间从中删除根目标。此参数是必需的。通常,这是一样的RootShare参数。

这个参数是保留,必须为零。
返回值
如果函数成功,返回值是NERR_Success。
如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。
备注
根目标服务器必须是可用的和可,否则,对NetDfsRemoveFtRoot函数调用将失败。
调用者必须具有更新的目录服务的DFS容器,必须在DFS主机(根)服务器的管理员特权。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderLmDfs.h(包括LmDfs.h或Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
参见
网络管理概述
网络管理功能
分布式文件系统(DFS)功能
NetDfsAddFtRoot
NetDfsRemoveFtRootForced
NetDfsRemove
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NetDfsRemoveFtRoot Function
Removes the specified root target from a domain-based Distributed File System (DFS) namespace. If the last root target of the DFS namespace is being removed, the function also deletes the DFS namespace. A DFS namespace can be deleted without first deleting all the links in it.
Syntax
C++
NET_API_STATUS NetDfsRemoveFtRoot(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in LPWSTR FtDfsName,
__reserved DWORD Flags
);
Parameters
ServerName [in]
Pointer to a string that specifies the server name of the root target to be removed. The server must host the root of a domain-based DFS namespace. This parameter is required.
RootShare [in]
Pointer to a string that specifies the name of the DFS root target share to be removed. This parameter is required.
FtDfsName [in]
Pointer to a string that specifies the name of the domain-based DFS namespace from which to remove the root target. This parameter is required. Typically, it is the same as the RootShare parameter.
Flags
This parameter is reserved and 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 root target server must be available and accessible; otherwise, the call to the NetDfsRemoveFtRoot function will fail.
The caller must have permission to update the DFS container in the directory service and must have Administrator privilege on the DFS host (root) server.
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
NetDfsAddFtRoot
NetDfsRemoveFtRootForced
NetDfsRemove
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb524818(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 13:22:17