CollectionSet.ISfcRenamable.ScriptRename Método
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.
Espacio de nombres: Microsoft.SqlServer.Management.Collector
Ensamblado: Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Sintaxis
'Declaración
Private Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- newKey
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Returns ISfcScript. An ISfcScript object that contains the script.
Implementa
ISfcRenamable.ScriptRename(SfcKey)