PropertyMetadataChanged 事件

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Event PropertyMetadataChanged As EventHandler(Of SfcPropertyMetadataChangedEventArgs)
用法
Dim instance As SqlSmoObject
Dim handler As EventHandler(Of SfcPropertyMetadataChangedEventArgs)

AddHandler instance.PropertyMetadataChanged, handler
[CLSCompliantAttribute(false)]
public event EventHandler<SfcPropertyMetadataChangedEventArgs> PropertyMetadataChanged
[CLSCompliantAttribute(false)]
public:
virtual  event EventHandler<SfcPropertyMetadataChangedEventArgs^>^ PropertyMetadataChanged {
    void add (EventHandler<SfcPropertyMetadataChangedEventArgs^>^ value);
    void remove (EventHandler<SfcPropertyMetadataChangedEventArgs^>^ value);
}
[<CLSCompliantAttribute(false)>]
abstract PropertyMetadataChanged : IEvent<EventHandler<SfcPropertyMetadataChangedEventArgs>,
    SfcPropertyMetadataChangedEventArgs>
[<CLSCompliantAttribute(false)>]
override PropertyMetadataChanged : IEvent<EventHandler<SfcPropertyMetadataChangedEventArgs>,
    SfcPropertyMetadataChangedEventArgs>
JScript 支持使用事件,但不支持声明新事件。

实现

ISfcNotifyPropertyMetadataChangedPropertyMetadataChanged()()()()