次の方法で共有


MethodName プロパティ

ユーザー定義関数のメソッド名を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property MethodName As String
    Get
    Set
'使用
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)

プロパティ値

型: System. . :: . .String
ユーザー定義関数のメソッド名を示す String 値です。

説明

AssemblyName プロパティの値を設定する必要があるのは、ImplementationType プロパティが SqlClr に設定されている場合のみです。