Condividi tramite


NotificationComputedFieldCollection Class

Represents the collection of computed fields for a NotificationClass.

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

Sintassi

'Dichiarazione
<DefaultMemberAttribute("Item")> _
Public Class NotificationComputedFieldCollection
    Inherits ParameterCollectionBase
[DefaultMemberAttribute("Item")] 
public class NotificationComputedFieldCollection : ParameterCollectionBase
[DefaultMemberAttribute(L"Item")] 
public ref class NotificationComputedFieldCollection : public ParameterCollectionBase
/** @attribute DefaultMemberAttribute("Item") */ 
public class NotificationComputedFieldCollection extends ParameterCollectionBase
DefaultMemberAttribute("Item") 
public class NotificationComputedFieldCollection extends ParameterCollectionBase

Osservazioni

A NotificationClass can have zero or more computed fields, which are fields that use Transact-SQL expressions or references to other fields to compute field values immediately before distribution.

Define individual computed fields using the NotificationComputedField class. Add the fields to the notification class using the NotificationComputedFieldCollection returned by the NotificationComputedFields property.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
     Microsoft.SqlServer.Management.Smo.SmoCollectionBase
       Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase
         Microsoft.SqlServer.Management.Smo.ParameterCollectionBase
          Microsoft.SqlServer.Management.Nmo.NotificationComputedFieldCollection

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 Members
Microsoft.SqlServer.Management.Nmo Namespace

Altre risorse

Definizione dello schema delle notifiche
ComputedFields Element (ADF)