ScriptRename 方法
Produces the script to rename this object to the specified key. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript
'用途
Dim instance As ISfcRenamable
Dim newKey As SfcKey
Dim returnValue As ISfcScript
returnValue = instance.ScriptRename(newKey)
ISfcScript ScriptRename(
SfcKey newKey
)
ISfcScript^ ScriptRename(
SfcKey^ newKey
)
abstract ScriptRename :
newKey:SfcKey -> ISfcScript
function ScriptRename(
newKey : SfcKey
) : ISfcScript
參數
- newKey
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The SfcKey object that contains the new name.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the script.