Add 方法 (UserDefinedFunctionEvent)
Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.
命名空間: 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
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that is added to the UserDefinedFunctionEventSet object.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that contains the added UserDefinedFunctionEvent object.