Compartilhar via


Propriedade MethodName

Gets the method name for the trigger.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property MethodName As String
    Get
    Set
'Uso
Dim instance As Trigger
Dim value As String

value = instance.MethodName

instance.MethodName = value
[SfcPropertyAttribute]
public string MethodName { get; set; }
[SfcPropertyAttribute]
public:
property String^ MethodName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member MethodName : string with get, set
function get MethodName () : String
function set MethodName (value : String)

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the method name for the trigger.

Comentários

A value is required for the AssemblyName property only when the ImplementationType property is set to SqlClr.