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

'Declaration
Public Sub New ( _
    eventName As String, _
    targetType As String, _
    targetTypeAlias As String _
)
'Usage
Dim eventName As String
Dim targetType As String
Dim targetTypeAlias As String

Dim instance As New StateChangeEventAttribute(eventName, _
    targetType, targetTypeAlias)
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 function StateChangeEventAttribute(
    eventName : String, 
    targetType : String, 
    targetTypeAlias : String
)

Parameters

  • eventName
    Type: System.String
    A string value that specifies the state change event.
  • targetType
    Type: System.String
    A string value that specifies the target type.
  • targetTypeAlias
    Type: System.String
    A string value that specifies the target type alias.