Jaa


NotificationComputedFieldCollection.Add Method (NotificationComputedField, String)

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

Syntax

'Declaration
Public Sub Add ( _
    notificationComputedField As NotificationComputedField, _
    insertAtColumnName As String _
)
public void Add (
    NotificationComputedField notificationComputedField,
    string insertAtColumnName
)
public:
void Add (
    NotificationComputedField^ notificationComputedField, 
    String^ insertAtColumnName
)
public void Add (
    NotificationComputedField notificationComputedField, 
    String insertAtColumnName
)
public function Add (
    notificationComputedField : NotificationComputedField, 
    insertAtColumnName : String
)

Parameters

  • insertAtColumnName
    A String value that specifies the name of the column to insert the computed field before.

Remarks

The named column and all subsequent columns are moved down the list of computed fields.

If you add fields after deploying the instance, you must Update the instance to apply the changes.

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

NotificationComputedFieldCollection Class
NotificationComputedFieldCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Defining the Notification Schema
ComputedFields Element (ADF)