Sequence.Properties Propiedad

Definición

Devuelve una colección de objetos DtsProperty que contienen propiedades relacionadas con el contenedor de secuencias.

public:
 property Microsoft::SqlServer::Dts::Runtime::DtsProperties ^ Properties { Microsoft::SqlServer::Dts::Runtime::DtsProperties ^ get(); };
public Microsoft.SqlServer.Dts.Runtime.DtsProperties Properties { get; }
member this.Properties : Microsoft.SqlServer.Dts.Runtime.DtsProperties
Public ReadOnly Property Properties As DtsProperties

Valor de propiedad

Colección DtsProperties.

Implementaciones

Ejemplos

En el ejemplo de código siguiente se crea un Sequence objeto y, a continuación, se recupera la Properties colección, se itera y se muestran los nombres y los tipos de propiedad que se encuentran en la colección.

using System;  
using System.Collections.Generic;  
using System.Text;  
using Microsoft.SqlServer.Dts.Runtime;  

namespace Microsoft.SqlServer.SSIS.Samples  
{  
    class Program  
    {  
        static void Main(string[] args)  
        {  
            Package package = new Package();  
            Sequence seq = (Sequence)package.Executables.Add("STOCK:SEQUENCE");  
            DtsProperties seqProps = seq.Properties;  

            foreach (DtsProperty pc in seqProps)  
            {  
                Console.WriteLine("Name: {0}, Property Kind {1}", pc.Name, pc.PropertyKind);  
            }  
        }  
    }  
}  
Imports System  
Imports System.Collections.Generic  
Imports System.Text  
Imports Microsoft.SqlServer.Dts.Runtime  

Namespace Microsoft.SqlServer.SSIS.Samples  
    Class Program  
        Shared  Sub Main(ByVal args() As String)  
            Dim package As Package =  New Package()   
            Dim seq As Sequence = CType(package.Executables.Add("STOCK:SEQUENCE"), Sequence)  
            Dim seqProps As DtsProperties =  seq.Properties   

            Dim pc As DtsProperty  
            For Each pc In seqProps  
                Console.WriteLine("Name: {0}, Property Kind {1}", pc.Name, pc.PropertyKind)  
            Next  
        End Sub  
    End Class  
End Namespace  

Salida del ejemplo:

Nombre: CreationName, Tipo de propiedad Other

Nombre: DelayValidation, Tipo de propiedad Other

Name: Description, Property Kind Other

Nombre: Disable, Property Kind Other

Nombre: DisableEventHandlers, Tipo de propiedad Other

Nombre: EventHandlers, Tipo de propiedad Other

Nombre: EventInfos, Tipo de propiedad Other

Nombre: ejecutables, tipo de propiedad Other

Nombre: ExecutionDuration, Tipo de propiedad Other

Nombre: ExecutionResult, Tipo de propiedad Other

Name: ExecutionStatus, Property Kind Other

Nombre: FailPackageOnFailure, tipo de propiedad Other

Name: FailParentOnFailure, Property Kind Other

Nombre: ForcedExecutionValue, Property Kind Other

Nombre: ForceExecutionResult, Tipo de propiedad Other

Nombre: ForceExecutionValue, Tipo de propiedad Other

Name: ID, Property Kind Other

Nombre: IsDefaultLocaleID, Tipo de propiedad Other

Name: IsolationLevel, Property Kind Other

Nombre: LocaleID, Tipo de propiedad Other

Nombre: LogEntryInfos, Tipo de propiedad Other

Nombre: LoggingMode, Tipo de propiedad Other

Nombre: LoggingOptions, Property Kind Other

Name: MaximumErrorCount, Property Kind Other

Name: Name, Property Kind Other

Nombre: Parent, Property Kind Other

Nombre: PrecedenceConstraints, Tipo de propiedad Other

Nombre: StartTime, Property Kind Other

Nombre: StopTime, Tipo de propiedad Other

Name: TransactionOption, Property Kind Other

Nombre: VariableDispenser, Property Kind Other

Nombre: Variables, Tipo de propiedad Other

Se aplica a