This appends the given data in the byte array to the log stream on the virtual cluster whose "key" and "value"
match the key and value.
Namespace: Microsoft.Cosmos.ManagementAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public void LogAppend(
CosmosUri stream,
byte[] data,
int offset,
int length,
bool compression,
string key,
string value
) |
Visual Basic |
---|
Public Sub LogAppend ( _
stream As CosmosUri, _
data As Byte(), _
offset As Integer, _
length As Integer, _
compression As Boolean, _
key As String, _
value As String _
) |
Visual C++ |
---|
public:
void LogAppend(
CosmosUri^ stream,
array<unsigned char>^ data,
int offset,
int length,
bool compression,
String^ key,
String^ value
) |
Parameters
- stream
- Type: CosmosUri
The base url of the log stream to which the data needs to be appended.
- data
- Type: array<Byte>[]()[][]
Byte array containing the data.
- offset
- Type: Int32
The starting position in the data array from which should be appended.
- length
- Type: Int32
The number of bytes to append
- compression
- Type: Boolean
Whether compression needs to be used while sending data to the virtual cluster.
- key
- Type: String
The name of the key for the stream.
- value
- Type: String
The value of the key.
See Also