Freigeben über


UserDefinedFunction.MethodName-Eigenschaft

Gets the method name for the user-defined function.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property MethodName As String 
    Get 
    Set
'Usage
Dim instance As UserDefinedFunction 
Dim value As String 

value = instance.MethodName

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

Eigenschaftswert

Typ: System.String
A String value that specifies the method name for the user-defined function.

Hinweise

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

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

UserDefinedFunction Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Benutzerdefinierte Funktionen (Datenbankmodul)

CREATE FUNCTION (Transact-SQL)