SfcApplicationEvents.OnBeforeObjectRenamed Method
Raises the BeforeObjectRenamed event. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
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
)
Parameters
- obj
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The source of the event.
- e
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcBeforeObjectRenamedEventArgs
The SfcBeforeObjectRenameedEventArgs object that contains the event data.