Преобразование Implicit (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Widening Operator CType ( _
eventValue As ViewEvent _
) As ViewEventSet
'Применение
Dim input As ViewEvent
Dim output As ViewEventSet
output = CType(input, ViewEventSet)
public static implicit operator ViewEventSet (
ViewEvent eventValue
)
static implicit operator ViewEventSet^ (
ViewEvent^ eventValue
)
JScript поддерживает использование пользовательских приведений, но не объявление новых.
Параметры
- eventValue
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ViewEvent
ViewEvent
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet which contains the ViewEvent.