ScriptRename 메서드
코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Renames a script that could be used to create the job, operator or alert category.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Protected Overrides Sub ScriptRename ( _
queries As StringCollection, _
so As ScriptingOptions, _
newName As String _
)
‘사용 방법
Dim queries As StringCollection
Dim so As ScriptingOptions
Dim newName As String
Me.ScriptRename(queries, so, newName)
protected override void ScriptRename(
StringCollection queries,
ScriptingOptions so,
string newName
)
protected:
virtual void ScriptRename(
StringCollection^ queries,
ScriptingOptions^ so,
String^ newName
) override
abstract ScriptRename :
queries:StringCollection *
so:ScriptingOptions *
newName:string -> unit
override ScriptRename :
queries:StringCollection *
so:ScriptingOptions *
newName:string -> unit
protected override function ScriptRename(
queries : StringCollection,
so : ScriptingOptions,
newName : String
)
매개 변수
- queries
유형: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object.
- so
유형: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options.
- newName
유형: System. . :: . .String
A String value that specifies the new name for the script.