CollectionSet.ISfcRenamable.ScriptRename 메서드
Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
네임스페이스: Microsoft.SqlServer.Management.Collector
어셈블리: Microsoft.SqlServer.Management.Collector(Microsoft.SqlServer.Management.Collector.dll)
구문
‘선언
Private Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
‘사용 방법
Dim instance As CollectionSet
Dim newKey As SfcKey
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcRenamable).ScriptRename(newKey)
ISfcScript ISfcRenamable.ScriptRename(
SfcKey newKey
)
private:
virtual ISfcScript^ ScriptRename(
SfcKey^ newKey
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename :
newKey:SfcKey -> ISfcScript
private override ScriptRename :
newKey:SfcKey -> ISfcScript
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- newKey
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.
반환 값
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Returns ISfcScript. An ISfcScript object that contains the script.
구현
ISfcRenamable.ScriptRename(SfcKey)