Condividi tramite


NotificationComputedFieldCollection.Add Method (NotificationComputedField, String)

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

Sintassi

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

Parametri

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

Osservazioni

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.

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)