Partager via


FullTextCatalog.ReadErrorLog Method (Int32)

Returns the information in the error log for the specified log number.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Function ReadErrorLog ( _
    logNumber As Integer _
) As DataTable
public DataTable ReadErrorLog (
    int logNumber
)
public:
DataTable^ ReadErrorLog (
    int logNumber
)
public DataTable ReadErrorLog (
    int logNumber
)
public function ReadErrorLog (
    logNumber : int
) : DataTable

Paramètres

  • logNumber
    An Int32 value that specifies the log number.

Valeur de retour

A DataTable system object value that lists the information in the error log.

Field

Description

LogDate

The date and time when the item was logged.

ProcessInfo

A process that caused the error.

Text

The error message text. The text contains new line and return ANSI characters.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

How to: Create a Full-Text Search Service in Visual Basic .NET

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

FullTextCatalog Class
FullTextCatalog Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Implementing Full-Text Search
Plan de la documentation sur la recherche de texte intégral
CREATE FULLTEXT CATALOG (Transact-SQL)