Condividi tramite


NotificationComputedFieldCollection.Add Method (NotificationComputedField, Int32)

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

Spazio dei nomi: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
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
)

Parametri

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

Osservazioni

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.

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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

Altre risorse

Definizione dello schema delle notifiche
ComputedFields Element (ADF)