Server.CaptureLog Property

Gets a collection containing XML/A commands generated if CaptureXml property was set to true.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property CaptureLog As StringCollection
    Get
'Usage
Dim instance As Server
Dim value As StringCollection

value = instance.CaptureLog
[BrowsableAttribute(false)]
public StringCollection CaptureLog { get; }
[BrowsableAttribute(false)]
public:
property StringCollection^ CaptureLog {
    StringCollection^ get ();
}
[<BrowsableAttribute(false)>]
member CaptureLog : StringCollection
function get CaptureLog () : StringCollection

Property Value

Type: System.Collections.Specialized.StringCollection
A StringCollection containing XML messages.

Remarks

CaptureLog stores a string array, and each new XML message is added to the end of the string array, if CaptureXml is set to true. The entries in the CaptureLog string array do not include the SOAP header for the message, just the contents of the command.