共用方式為


Add 方法 (UserDefinedFunctionEvent)

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

語法

'宣告
Public Function Add ( _
    anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'用途
Dim instance As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet

returnValue = instance.Add(anEvent)
public UserDefinedFunctionEventSet Add(
    UserDefinedFunctionEvent anEvent
)
public:
UserDefinedFunctionEventSet^ Add(
    UserDefinedFunctionEvent^ anEvent
)
member Add : 
        anEvent:UserDefinedFunctionEvent -> UserDefinedFunctionEventSet 
public function Add(
    anEvent : UserDefinedFunctionEvent
) : UserDefinedFunctionEventSet