Share via


ContentFormatter Class

Represents a content formatter, which formats notifications for a specific notification class.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public NotInheritable Class ContentFormatter
    Inherits NamedSmoObject
public sealed class ContentFormatter : NamedSmoObject
public ref class ContentFormatter sealed : public NamedSmoObject
public final class ContentFormatter extends NamedSmoObject
public final class ContentFormatter extends NamedSmoObject

Remarks

Each notification class has one content formatter. The content formatter can perform different formatting based on notification field values.

The built-in XSLT content formatter can use different XSLT files based on the notification's subscriber device and locale. For more information about the standard XSLT content formatter, see XSLT Content Formatter.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Microsoft.SqlServer.Management.Smo.NamedSmoObject
        Microsoft.SqlServer.Management.Nmo.ContentFormatter

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

ContentFormatter Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Configuring Content Formatters
ContentFormatter Element (ADF)