网站首页  词典首页

请输入您要查询的函数:

 

术语 netdfsaddstdrootforced
释义 NetDfsAddStdRootForced
语法:
C++
NET_API_STATUS NetDfsAddStdRootForced(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in_opt LPWSTR Comment,
__in LPWSTR Store
);
NetDfsAddStdRootForced功能
创建一个新的独立分布式文件系统(DFS),而不需要提供或份额相应的检查DFS名称空间无障碍空间。这允许脱机份额举办一个群集DFS名称空间。
注意:此功能已经过时了。您可以创建一个新的独立的根单独的函数调用NetDfsAddStdRoot DFS名称空间。
参数
服务器名 [in]
一个字符串指针,指定的服务器将承载新的独立的DFS命名空间名称。此参数是必需的。
RootShare [in]
指针指向一个字符串,指定服务器上,将举办命名的新立场,共享文件夹名的DFS名称空间。此参数是必需的。
评论[中,可选]
指针指向一个字符串,其中包含一个可选的注释与DFS名称空间相关联。
商店 [in]
一个字符串指针,指定本地文件系统路径相应的份额将承载新的DFS命名空间。此参数是必需的,必须形式:
驱动器:\\目录
返回值
如果函数成功,返回值是NERR_Success。
如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。
备注
调用者必须具有在DFS服务器的管理员特权。如需有关通话功能,需要管理员权限的信息,请运行特权。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户supportWindows的高端XP
HeaderLmDfs.h(包括LmDfs.h或Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
参见
网络管理概述
网络管理功能
分布式文件系统(DFS)功能
NetDfsAddStdRoot
NetDfsRemoveStdRoot
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NetDfsAddStdRootForced Function
Creates a new stand-alone Distributed File System (DFS) namespace without checking for the availability or accessibility of the share corresponding to the DFS namespace. This allows an offline share to host a clustered DFS namespace.
Note This function is obsolete. You can create the root for a new stand-alone DFS namespace by calling the NetDfsAddStdRoot function.
Syntax
C++
NET_API_STATUS NetDfsAddStdRootForced(
__in LPWSTR ServerName,
__in LPWSTR RootShare,
__in_opt LPWSTR Comment,
__in LPWSTR Store
);
Parameters
ServerName [in]
Pointer to a string that specifies the name of the server that will host the new stand-alone DFS namespace. This parameter is required.
RootShare [in]
Pointer to a string that specifies the name of the shared folder for the new stand-alone DFS namespace on the server that will host the namespace. This parameter is required.
Comment [in, optional]
Pointer to a string that contains an optional comment associated with the DFS namespace.
Store [in]
Pointer to a string that specifies the local file system path corresponding to the share that will host the new DFS namespace. This parameter is required and must be of the form:
drive:\\directory
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
End of client supportWindows XP
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
NetDfsRemoveStdRoot
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb524808(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:29