Share via


SqlInfoMessageEventArgs.Source Property

Definition

Gets the name of the object that generated the error.

public:
 property System::String ^ Source { System::String ^ get(); };
public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String

Property Value

The name of the object that generated the error.

Remarks

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

Applies to