Freigeben über


OnBeforeObjectRenamed-Methode

Raises the BeforeObjectRenamed event. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Sub OnBeforeObjectRenamed ( _
    obj As SfcInstance, _
    e As SfcBeforeObjectRenamedEventArgs _
)
'Usage
Dim instance As SfcApplicationEvents
Dim obj As SfcInstance
Dim e As SfcBeforeObjectRenamedEventArgs

instance.OnBeforeObjectRenamed(obj, e)
public void OnBeforeObjectRenamed(
    SfcInstance obj,
    SfcBeforeObjectRenamedEventArgs e
)
public:
void OnBeforeObjectRenamed(
    SfcInstance^ obj, 
    SfcBeforeObjectRenamedEventArgs^ e
)
member OnBeforeObjectRenamed : 
        obj:SfcInstance * 
        e:SfcBeforeObjectRenamedEventArgs -> unit 
public function OnBeforeObjectRenamed(
    obj : SfcInstance, 
    e : SfcBeforeObjectRenamedEventArgs
)

Parameter