Metoda ISfcCollection.Rename
Zmienia nazwę określonego SfcInstance obiektu.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Sub Rename ( _
sfcInstance As SfcInstance, _
newKey As SfcKey _
)
'Użycie
Dim instance As ISfcCollection
Dim sfcInstance As SfcInstance
Dim newKey As SfcKey
instance.Rename(sfcInstance, newKey)
void Rename(
SfcInstance sfcInstance,
SfcKey newKey
)
void Rename(
SfcInstance^ sfcInstance,
SfcKey^ newKey
)
abstract Rename :
sfcInstance:SfcInstance *
newKey:SfcKey -> unit
function Rename(
sfcInstance : SfcInstance,
newKey : SfcKey
)
Parametry
- sfcInstance
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
SfcInstance Obiektu do zmiany nazwy.
- newKey
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Nowy klucz dla obiektu.
Zobacz także