StateChangeEventAttribute Constructor (String, String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event, target type and target type alias.
Namespace: Microsoft.SqlServer.Management.Facets
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
public StateChangeEventAttribute(
string eventName,
string targetType,
string targetTypeAlias
)
public:
StateChangeEventAttribute(
String^ eventName,
String^ targetType,
String^ targetTypeAlias
)
new :
eventName:string *
targetType:string *
targetTypeAlias:string -> StateChangeEventAttribute
Public Sub New (
eventName As String,
targetType As String,
targetTypeAlias As String
)
Parameters
eventName
Type: System.StringA string value that specifies the state change event.
targetType
Type: System.StringA string value that specifies the target type.
targetTypeAlias
Type: System.StringA string value that specifies the target type alias.
See Also
StateChangeEventAttribute Overload
StateChangeEventAttribute Class
Microsoft.SqlServer.Management.Facets Namespace
Return to top