Partager via


3.1.4.1.2 NetrDfsManagerGetVersion (Opnum 0)

The NetrDfsManagerGetVersion method returns the version number of the DFS server in use on the server.

The NetrDfsManagerGetVersion method has the following MIDL syntax.

 DWORD NetrDfsManagerGetVersion();

This method has no parameters.

Return Values: This method MUST return one of the following values.

Return value

Description

0x00000001

The server MUST support stand-alone DFS namespaces and opnums from 0 through 5, inclusive. The server MAY support domain-based DFS namespaces and other opnums.

0x00000002

In addition to the preceding, the server MUST support domainv1-based DFS namespaces and opnums 10 through 22, inclusive. The server MAY support hosting more than one DFS namespace on the same server.

0x00000004

In addition to the preceding, the server MUST support hosting more than one DFS namespace on the same server and Level parameter value 200 of the NetrDfsEnumEx method. It SHOULD support opnum 6.

0x00000006

In addition to the preceding, the server MUST support domainv2-based DFS namespace and opnums 23 through 25, inclusive.

The clients MAY use the version information to determine the RPC methods that the DFS server supports.<37><38><39><40><41>