This function appends the given file to the specified stream. The file in its entirety will be appended to the stream. The file must use
new line characters '\n', '\r', "\n\r", and/or "\r\n" (the file can contain more than one of these) with lines being less than or equal
to 4MB (including new line characters).
Namespace: Microsoft.Cosmos.ManagementAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public void AppendFile(
CosmosUri stream,
string fileName,
bool compression
) |
Visual Basic |
---|
Public Sub AppendFile ( _
stream As CosmosUri, _
fileName As String, _
compression As Boolean _
) |
Visual C++ |
---|
public:
void AppendFile(
CosmosUri^ stream,
String^ fileName,
bool compression
) |
Parameters
- stream
- Type: CosmosUri
The name of the stream to which the data needs to be appended.
- fileName
- Type: String
The name of the local file from which the data needs to be copied.
- compression
- Type: Boolean
Whether compression should be used while transferring data to the VC.
See Also