Método PolicyCategory.ISfcRenamable.Rename
Renames the policy with the specified key.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Private Sub Rename ( _
key As SfcKey _
) Implements ISfcRenamable.Rename
'Uso
Dim instance As PolicyCategory
Dim key As SfcKey
CType(instance, ISfcRenamable).Rename(key)
void ISfcRenamable.Rename(
SfcKey key
)
private:
virtual void Rename(
SfcKey^ key
) sealed = ISfcRenamable::Rename
private abstract Rename :
key:SfcKey -> unit
private override Rename :
key:SfcKey -> unit
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- key
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Specifies the new key of the policy.