网站首页  词典首页

请输入您要查询的函数:

 

术语 netdfsmanagerinitialize
释义 NetDfsManagerInitialize
语法:
C++
NET_API_STATUS NetDfsManagerInitialize(
__in LPWSTR ServerName,
__reserved DWORD Flags
);
NetDfsManagerInitialize功能
重新初始化分布式文件系统(DFS)服务(dfssvc.exe在指定的服务器)。
注意:此功能已经过时了。您可以使用服务功能代替。
参数
服务器名 [in]
一个字符串指针,指定的服务器的名称DFS服务是重新初始化。此参数是必需的。

这个参数是保留,必须为零。
返回值
如果函数成功,返回值是NERR_Success。
如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。
备注
调用者必须具有在DFS服务器的管理员特权。如需有关通话功能,需要管理员权限的信息,请运行特权。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户supportWindows的高端XP
HeaderLmDfs.h(包括LmDfs.h或Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
参见
网络管理概述
网络管理功能
分布式文件系统(DFS)功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NetDfsManagerInitialize Function
Reinitializes the Distributed File System (DFS) service (dfssvc.exe) on the specified server.
Note This function is obsolete. You can use the Service Functions instead.
Syntax
C++
NET_API_STATUS NetDfsManagerInitialize(
__in LPWSTR ServerName,
__reserved DWORD Flags
);
Parameters
ServerName [in]
Pointer to a string that specifies the name of the server where the DFS service is to be reinitialized. This parameter is required.
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 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
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb524815(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:16:09