Platform SDK: Network Management |
The SERVER_INFO_101 structure contains information about the specified server, including name, platform, type of server, and associated software.
typedef struct _SERVER_INFO_101 { DWORD sv101_platform_id; LPWSTR sv101_name; DWORD sv101_version_major; DWORD sv101_version_minor; DWORD sv101_type; LPWSTR sv101_comment; } SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
Value | Meaning |
---|---|
SV_TYPE_WORKSTATION | A LAN Manager workstation |
SV_TYPE_SERVER | A LAN Manager server |
SV_TYPE_SQLSERVER | Any server running with Microsoft SQL Server |
SV_TYPE_DOMAIN_CTRL | Primary domain controller |
SV_TYPE_DOMAIN_BAKCTRL | Backup domain controller |
SV_TYPE_TIME_SOURCE | Server running the Timesource service |
SV_TYPE_AFP | Apple File Protocol server |
SV_TYPE_NOVELL | Novell server |
SV_TYPE_DOMAIN_MEMBER | LAN Manager 2.x domain member |
SV_TYPE_LOCAL_LIST_ONLY | Servers maintained by the browser |
SV_TYPE_PRINTQ_SERVER | Server sharing print queue |
SV_TYPE_DIALIN_SERVER | Server running dial-in service |
SV_TYPE_XENIX_SERVER | Xenix server |
SV_TYPE_SERVER_MFPN | Microsoft File and Print for NetWare |
SV_TYPE_NT | Windows NT/Windows 2000 workstation or server |
SV_TYPE_WFW | Server running Windows for Workgroups |
SV_TYPE_SERVER_NT | Windows NT/Windows 2000 server that is not a domain controller |
SV_TYPE_POTENTIAL_BROWSER | Server that can run the browser service |
SV_TYPE_BACKUP_BROWSER | Server running a browser service as backup |
SV_TYPE_MASTER_BROWSER | Server running the master browser service |
SV_TYPE_DOMAIN_MASTER | Server running the domain master browser |
SV_TYPE_DOMAIN_ENUM | Primary domain |
SV_TYPE_WINDOWS | Windows 95 or later |
SV_TYPE_ALL | All servers |
SV_TYPE_TERMINALSERVER | Terminal Server |
SV_TYPE_CLUSTER_NT | Server clusters available in the domain |
To retrieve a value that indicates whether a share is the root volume in a Dfs tree structure, you must call the NetShareGetInfo function and specify information level 1005.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmserver.h.
Network Management Overview, Network Management Structures, Server Functions, NetServerEnum, NetServerGetInfo, NetServerSetInfo, NetShareGetInfo