Partager via


NotificationComputedFieldCollection.Add Method (NotificationComputedField, Int32)

Adds a NotificationComputedField object to the NotificationComputedFieldCollection object at the specified position.

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, _
    insertAtPosition As Integer _
)
public void Add (
    NotificationComputedField notificationComputedField,
    int insertAtPosition
)
public:
void Add (
    NotificationComputedField^ notificationComputedField, 
    int insertAtPosition
)
public void Add (
    NotificationComputedField notificationComputedField, 
    int insertAtPosition
)
public function Add (
    notificationComputedField : NotificationComputedField, 
    insertAtPosition : int
)

Paramètres

  • insertAtPosition
    An Int32 value that specifies where to add the NotificationComputedField object in the collection.

Notes

Objects at the insertAtPosition position and higher are moved to the next higher position in the list.

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)