Server.CaptureLog Property

 

Applies To: SQL Server 2016 Preview

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

[BrowsableAttribute(false)]
[XmlIgnoreAttribute]
public StringCollection CaptureLog { get; }
public:
[BrowsableAttribute(false)]
[XmlIgnoreAttribute]
property StringCollection^ CaptureLog {
    StringCollection^ get();
}
[<BrowsableAttribute(false)>]
[<XmlIgnoreAttribute>]
member CaptureLog : StringCollection with get
<BrowsableAttribute(False)>
<XmlIgnoreAttribute>
Public ReadOnly Property CaptureLog As 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

Server Class
Microsoft.AnalysisServices Namespace

Return to top