共用方式為


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()()()()