Metodo CollectionSet.ISfcRenamable.ScriptRename
Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Spazio dei nomi Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Sintassi
'Dichiarazione
Private Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Utilizzo
Dim instance As CollectionSet
Dim newKey As SfcKey
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcRenamable).ScriptRename(newKey)
ISfcScript ISfcRenamable.ScriptRename(
SfcKey newKey
)
private:
virtual ISfcScript^ ScriptRename(
SfcKey^ newKey
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename :
newKey:SfcKey -> ISfcScript
private override ScriptRename :
newKey:SfcKey -> ISfcScript
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- newKey
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Returns ISfcScript. An ISfcScript object that contains the script.
Implementa
ISfcRenamable.ScriptRename(SfcKey)