Megosztás a következőn keresztül:


LoggingOptions.EventFilter Property

Gets or sets an array that contains the names of the events that are the subject of the filtering options.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Property EventFilter As String()
    Get
    Set
'Usage
Dim instance As LoggingOptions
Dim value As String()

value = instance.EventFilter

instance.EventFilter = value
public string[] EventFilter { get; set; }
public:
property array<String^>^ EventFilter {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member EventFilter : string[] with get, set
function get EventFilter () : String[]
function set EventFilter (value : String[])

Property Value

Type: array<System.String[]
A String array that contains the names of the events.

Remarks

For more information, see Enabling Logging Programmatically.