StateChangeEventAttribute Constructor (String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
Espacio de nombres: Microsoft.SqlServer.Management.Facets
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub New ( _
eventName As String, _
targetType As String _
)
'Uso
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
)
Parámetros
- eventName
Tipo: System. . :: . .String
A String object that specifies the state change event.
- targetType
Tipo: System. . :: . .String
A String object that specifies the target.
Notas
Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.