共用方式為


Add 方法

Adds a user-defined function to the collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    userDefinedFunction As UserDefinedFunction _
)
'用途
Dim instance As UserDefinedFunctionCollection
Dim userDefinedFunction As UserDefinedFunction

instance.Add(userDefinedFunction)
public void Add(
    UserDefinedFunction userDefinedFunction
)
public:
void Add(
    UserDefinedFunction^ userDefinedFunction
)
member Add : 
        userDefinedFunction:UserDefinedFunction -> unit 
public function Add(
    userDefinedFunction : UserDefinedFunction
)

範例

使用集合