EventDeclaration.ObjectName Property
Gets or sets the event object name.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ObjectName As EventSessionObjectName
Get
Set
'Usage
Dim instance As EventDeclaration
Dim value As EventSessionObjectName
value = instance.ObjectName
instance.ObjectName = value
public EventSessionObjectName ObjectName { get; set; }
public:
property EventSessionObjectName^ ObjectName {
EventSessionObjectName^ get ();
void set (EventSessionObjectName^ value);
}
member ObjectName : EventSessionObjectName with get, set
function get ObjectName () : EventSessionObjectName
function set ObjectName (value : EventSessionObjectName)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.EventSessionObjectName
The event object name.