Partager via


NotificationComputedFieldCollection.Add Method (NotificationComputedField, String)

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

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

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.

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

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

Autres ressources

Définition du schéma de notification
ComputedFields Element (ADF)