Export (0) Print
Expand All

Alert.DatabaseName Property

Gets or sets the name of the database that the alert is monitoring.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Matrix)]
public string DatabaseName { get; set; }

Property Value

Type: String
A String value that specifies the name of the database that the alert is monitoring.

This property is used to restrict the alert to monitoring events on a single database.

Community Additions

ADD
Show:
© 2015 Microsoft