Share via


SPDiagnosticsDataService.GetDiagnosticsDataAsFile method

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetDiagnosticsDataAsFile ( _
    correlationId As String, _
    name As String, _
    fileName As String _
) As Stream
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim name As String
Dim fileName As String
Dim returnValue As Stream

returnValue = instance.GetDiagnosticsDataAsFile(correlationId, _
    name, fileName)
public Stream GetDiagnosticsDataAsFile(
    string correlationId,
    string name,
    string fileName
)

Parameters

Return value

Type: System.IO.Stream

Implements

IDiagnosticsDataservice.GetDiagnosticsDataAsFile(String, String, String)

See also

Reference

SPDiagnosticsDataService class

SPDiagnosticsDataService members

Microsoft.SharePoint.Diagnostics namespace