Constructeur DatabaseEventArgs
The DatabaseEventArgs object represents the arguments passed by the event raised by the database.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
urn As Urn, _
obj As Object, _
name As String, _
databaseEventType As DatabaseEventType _
)
'Utilisation
Dim urn As Urn
Dim obj As Object
Dim name As String
Dim databaseEventType As DatabaseEventType
Dim instance As New DatabaseEventArgs(urn, obj, _
name, databaseEventType)
public DatabaseEventArgs(
Urn urn,
Object obj,
string name,
DatabaseEventType databaseEventType
)
public:
DatabaseEventArgs(
Urn^ urn,
Object^ obj,
String^ name,
DatabaseEventType databaseEventType
)
new :
urn:Urn *
obj:Object *
name:string *
databaseEventType:DatabaseEventType -> DatabaseEventArgs
public function DatabaseEventArgs(
urn : Urn,
obj : Object,
name : String,
databaseEventType : DatabaseEventType
)
Paramètres
- urn
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
A Urn object value that specifies the URN value.
- obj
Type : System. . :: . .Object
An Object system object value that specifies the object that caused the event to be raised.
- name
Type : System. . :: . .String
A String value that specifies the name of the event.
- databaseEventType
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventType
DatabaseEventType an enumeration containing database event types