ObjectCreatedEventArgs-Klasse

The ObjectCreatedEventArgs object represents the arguments that are passed by the event that is raised when an object is created.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .EventArgs
    Microsoft.SqlServer.Management.Smo. . :: . .SmoEventArgs
      Microsoft.SqlServer.Management.Smo..::..ObjectCreatedEventArgs

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class ObjectCreatedEventArgs _
    Inherits SmoEventArgs
'Usage
Dim instance As ObjectCreatedEventArgs
public class ObjectCreatedEventArgs : SmoEventArgs
public ref class ObjectCreatedEventArgs : public SmoEventArgs
type ObjectCreatedEventArgs =  
    class
        inherit SmoEventArgs
    end
public class ObjectCreatedEventArgs extends SmoEventArgs

Der ObjectCreatedEventArgs-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ObjectCreatedEventArgs Initializes a new instance of the ObjectCreatedEventArgs class that has the specified Uniform Resource Name (URN) value and the specified inner object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft SmoObject Gets the created object that causes the event to be raised.
Öffentliche Eigenschaft Urn Gets the Uniform Resource Name (URN) address of SMO event. (Geerbt von SmoEventArgs.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.