Partilhar via


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)> _
<XmlIgnoreAttribute> _
Public ReadOnly Property CaptureLog As StringCollection
[BrowsableAttribute(false)] 
[XmlIgnoreAttribute] 
public StringCollection CaptureLog { get; }
[BrowsableAttribute(false)] 
[XmlIgnoreAttribute] 
public:
property StringCollection^ CaptureLog {
    StringCollection^ get ();
}
/** @property */
public StringCollection get_CaptureLog ()
public function get CaptureLog () : StringCollection

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Server Class
Server Members
Microsoft.AnalysisServices Namespace