共用方式為


StateChangeEventAttribute 建構函式 (String, String, String)

Initializes a new instance of the StateChangeEventAttribute class for the specified event, target type and target type alias.

命名空間:  Microsoft.SqlServer.Management.Facets
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New ( _
    eventName As String, _
    targetType As String, _
    targetTypeAlias As String _
)
'用途
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
)

參數

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

請參閱

參考

StateChangeEventAttribute 類別

StateChangeEventAttribute 多載

Microsoft.SqlServer.Management.Facets 命名空間