PolicyCategory.ISfcRenamable.ScriptRename Método
Renames the script that is used to create the policy with the specified key.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Private Function ScriptRename ( _
key As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Uso
Dim instance As PolicyCategory
Dim key As SfcKey
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcRenamable).ScriptRename(key)
ISfcScript ISfcRenamable.ScriptRename(
SfcKey key
)
private:
virtual ISfcScript^ ScriptRename(
SfcKey^ key
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename :
key:SfcKey -> ISfcScript
private override ScriptRename :
key:SfcKey -> ISfcScript
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- key
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Specifies the new key that is used to create the policy.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the renamed script.
Implementa
ISfcRenamable.ScriptRename(SfcKey)