ScriptCollectorInfo.IScriptCollectorInfo.CreateScriptCollector Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat kolektor skrip baru untuk skrip.
virtual System::Object ^ Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector(System::String ^ scriptType, Microsoft::SqlServer::Management::Data::IContext ^ context) = Microsoft::SqlServer::Management::Scripting::IScriptCollectorInfo::CreateScriptCollector;
object IScriptCollectorInfo.CreateScriptCollector (string scriptType, Microsoft.SqlServer.Management.Data.IContext context);
abstract member Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector : string * Microsoft.SqlServer.Management.Data.IContext -> obj
override this.Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector : string * Microsoft.SqlServer.Management.Data.IContext -> obj
Function CreateScriptCollector (scriptType As String, context As IContext) As Object Implements IScriptCollectorInfo.CreateScriptCollector
Parameter
- scriptType
- String
Jenis skrip yang akan digunakan.
- context
- IContext
Konteks yang terkait dengan skrip.
Mengembalikan
Objek yang mewakili pengumpul skrip baru.