次の方法で共有


UserDefinedFunction コンストラクター (Database, String, String)

指定したデータベースで、指定した名前とスキーマを使用して UserDefinedFunction クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    database As Database, _
    name As String, _
    schema As String _
)
'使用
Dim database As Database 
Dim name As String 
Dim schema As String 

Dim instance As New UserDefinedFunction(database, _
    name, schema)
public UserDefinedFunction(
    Database database,
    string name,
    string schema
)
public:
UserDefinedFunction(
    Database^ database, 
    String^ name, 
    String^ schema
)
new : 
        database:Database * 
        name:string * 
        schema:string -> UserDefinedFunction
public function UserDefinedFunction(
    database : Database, 
    name : String, 
    schema : String
)

パラメーター

  • schema
    型: System.String
    ユーザー定義関数のスキーマを示す String 値です。

使用例

メソッドの呼び出し

関連項目

参照

UserDefinedFunction クラス

UserDefinedFunction オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

ユーザー定義関数 (データベース エンジン)

CREATE FUNCTION (Transact-SQL)