다음을 통해 공유


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 네임스페이스