Dela via


3.2.1.4 Per Tree Connect

The client MUST implement the following:

TreeConnect.ShareName: The share name corresponding to this tree connect.

TreeConnect.TreeConnectId: A 4-byte identifier returned by the server to identify this tree connect.

TreeConnect.Session: A reference to the session on which this tree connect was established.

TreeConnect.IsDfsShare: A Boolean that, if set, indicates that the tree connect was established to a DFS share.

If the client implements the SMB 3.x dialect family, the client MUST also implement the following:

TreeConnect.IsCAShare: A Boolean that, if set, indicates that the tree connect was established on a continuously available share.

TreeConnect.EncryptData: A Boolean that, if set, indicates that the server requires encrypted messages for accessing the share associated with this tree connect.

TreeConnect.IsScaleoutShare: A Boolean that, if set, indicates that the tree connect was established on a share that has the SMB2_SHARE_CAP_SCALEOUT capability set.

If the client implements the SMB 3.1.1 dialect, the client also implements the following:

TreeConnect.CompressData: A Boolean that, if set, indicates that the server supports compressed read/write messages for accessing the share associated with this tree connect.