다음을 통해 공유


StateChangeEventAttribute 생성자 (String, String)

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

네임스페이스:  Microsoft.SqlServer.Management.Facets
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
Public Sub New ( _
    eventName As String, _
    targetType As String _
)
‘사용 방법
Dim eventName As String 
Dim targetType As String 

Dim instance As New StateChangeEventAttribute(eventName, _
    targetType)
public StateChangeEventAttribute(
    string eventName,
    string targetType
)
public:
StateChangeEventAttribute(
    String^ eventName, 
    String^ targetType
)
new : 
        eventName:string * 
        targetType:string -> StateChangeEventAttribute
public function StateChangeEventAttribute(
    eventName : String, 
    targetType : String
)

매개 변수

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

참고 항목

참조

StateChangeEventAttribute 클래스

StateChangeEventAttribute 오버로드

Microsoft.SqlServer.Management.Facets 네임스페이스