共用方式為


3.1.6.1 Server Looks Up Shares

The server MUST provide the tuple <ServerName, ShareName> to look up shares in ShareList, as specified in section 3.1.1.1.

ShareName: The name of a shared resource. This MUST not be an empty string.

ServerName: The name of a local server to which the shared resource attaches. This could be an empty string.

To look up the share(s) in ShareList, the following algorithm MUST be used.

 FOREACH Share in ShareList
    IF Share.Name is equal to ShareName 
         IF Share.ServerName is equal to ServerName
               RETURN Share
          ENDIF
    ENDIF
 ENDFOR
 RETURN NULL