Server.CaptureLog Property

Gets a collection containing XMLA 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 collection 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.

See Also

Reference

Server Class

Microsoft.AnalysisServices Namespace