Udostępnij za pośrednictwem


Trigger Constructor (SqlSmoObject, String)

Initializes a new instance of the Trigger class on the specified object, and with the specified name.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
public Trigger (
    SqlSmoObject parent,
    string name
)
public:
Trigger (
    SqlSmoObject^ parent, 
    String^ name
)
public Trigger (
    SqlSmoObject parent, 
    String name
)
public function Trigger (
    parent : SqlSmoObject, 
    name : String
)

Parameters

  • parent
    A SqlSmoObject object value that specifies the parent of the trigger.
  • name
    A String value that specifies the name of the trigger.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.