ISfcRenamable.ScriptRename 方法
Renames the script identified by the SfcKey.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Private Function ScriptRename ( _
key As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'用途
Dim instance As Condition
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- key
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
A SfcKey object.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
A ISfcScript object.