NamedSmoObject.ScriptRename Yöntemi
Bu yöntem, smo altyapısını destekler ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır.
Ad Alanı: Microsoft.SqlServer.Management.Smo
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
Protected Overridable Sub ScriptRename ( _
renameQuery As StringCollection, _
so As ScriptingOptions, _
newName As String _
)
'Kullanım
Dim renameQuery As StringCollection
Dim so As ScriptingOptions
Dim newName As String
Me.ScriptRename(renameQuery, so, newName)
protected virtual void ScriptRename(
StringCollection renameQuery,
ScriptingOptions so,
string newName
)
protected:
virtual void ScriptRename(
StringCollection^ renameQuery,
ScriptingOptions^ so,
String^ newName
)
abstract ScriptRename :
renameQuery:StringCollection *
so:ScriptingOptions *
newName:string -> unit
override ScriptRename :
renameQuery:StringCollection *
so:ScriptingOptions *
newName:string -> unit
protected function ScriptRename(
renameQuery : StringCollection,
so : ScriptingOptions,
newName : String
)
Parametreler
- renameQuery
Tür: System.Collections.Specialized.StringCollection
A StringCollection nesne.
- so
Tür: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions nesne.
- newName
Tür: System.String
Yeni adı belirten bir dize değeri.