StateChangeEventAttribute Constructor (String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
Namespace: Microsoft.SqlServer.Management.Facets
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
public StateChangeEventAttribute(
string eventName,
string targetType
)
public:
StateChangeEventAttribute(
String^ eventName,
String^ targetType
)
new :
eventName:string *
targetType:string -> StateChangeEventAttribute
Public Sub New (
eventName As String,
targetType As String
)
Parameters
eventName
Type: System.StringA String object that specifies the state change event.
targetType
Type: System.StringA String object that specifies the target.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
See Also
StateChangeEventAttribute Overload
StateChangeEventAttribute Class
Microsoft.SqlServer.Management.Facets Namespace
Return to top