Trigger.Parent Trigger.Parent Trigger.Parent Property

Definition

Gets or sets the SqlSmoObject object that is the parent of the Trigger object.

public:
 property Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ Parent { Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ get(); void set(Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectRelationship.ParentObject, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags.Design)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcParent("View")]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcParent("Table")]
public Microsoft.SqlServer.Management.Smo.SqlSmoObject Parent { get; set; }
Public Property Parent As SqlSmoObject
Property Value

A SqlSmoObject object that specifies the parent of the Trigger object.

Examples

Creating, Altering, and Removing Triggers

Applies to