C# Class Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2.OPLOCK_BREAK_Response

The SMB2 OPLOCK_BREAK Response packet is sent by the server in response to an oplock break acknowledgment from the client. This response is composed of an SMB2 header, as specified in section , followed by this response structure:
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
OplockLevel OPLOCK_BREAK_Response_OplockLevel_Values
Reserved OPLOCK_BREAK_Response_Reserved_Values

Property Details

OplockLevel public property

The server MUST set this value to the OplockLevel value in the SMB2 OPLOCK BREAK acknowledgment that is sent by the client as specified in section. Because SMB2_OPLOCK_LEVEL_BATCH is the highest oplock level, the server will never send a break from SMB2_OPLOCK_LEVEL_BATCH to SMB2_OPLOCK_LEVEL_BATCH. Thus this field MUST contain one of the following values:-based clients never use exclusive oplocks. There are no situations where an exclusive oplock would be used instead of using a SMB2_OPLOCK_LEVEL_BATCH.
public OPLOCK_BREAK_Response_OplockLevel_Values OplockLevel
return OPLOCK_BREAK_Response_OplockLevel_Values

Reserved public property

Unused at the present and MUST be treated as reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.
public OPLOCK_BREAK_Response_Reserved_Values Reserved
return OPLOCK_BREAK_Response_Reserved_Values