PolicyCategory.ISfcRenamable.Rename Method
Renames the policy with the specified key.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Private Sub Rename ( _
key As SfcKey _
) Implements ISfcRenamable.Rename
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- key
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Specifies the new key of the policy.