ISfcRenamable.ScriptRename 方法
Renames the instance of ISfcScript object identified by the key parameter. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Private Function ScriptRename ( _
key As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'用途
Dim instance As ServerGroup
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
An ISfcScript object.
實作
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。