ServerDdlTriggerCollection.Item Property (String)
Gets a ServerDdlTrigger object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As ServerDdlTrigger
Get
'Kullanım
Dim instance As ServerDdlTriggerCollection
Dim name As String
Dim value As ServerDdlTrigger
value = instance(name)
public ServerDdlTrigger this[
string name
] { get; }
public:
property ServerDdlTrigger^ default[String^ name] {
ServerDdlTrigger^ get (String^ name);
}
member Item : ServerDdlTrigger
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the ServerDdlTrigger object in the ServerDdlTriggerCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTrigger
A ServerDdlTrigger object value that represents the server data definition language (DDL) trigger.