SqlInfoMessageEventArgs.Source Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the name of the object that generated the error.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public string Source { get; }

Property Value

Type: System.String

The name of the object that generated the error.

This is a wrapper for the Source property of the first SqlError in the Errors collection.

.NET Framework
Available since 1.1
Return to top
Show: