Метод OnBeforeObjectRenamed
Raises the BeforeObjectRenamed event. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Sub OnBeforeObjectRenamed ( _
obj As SfcInstance, _
e As SfcBeforeObjectRenamedEventArgs _
)
'Применение
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
)
Параметры
- obj
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The source of the event.
- e
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcBeforeObjectRenamedEventArgs
The SfcBeforeObjectRenameedEventArgs object that contains the event data.
См. также