ExportableBase.GetService Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C#
protected T GetService<T>() where T : Microsoft.SqlServer.Dac.Extensibility.IExportable;
member this.GetService : unit -> 'T (requires 'T :> Microsoft.SqlServer.Dac.Extensibility.IExportable)
Protected Function GetService(Of T As IExportable) () As T
Type Parameters
- T
Returns
T
Applies to
Microsoft.SQLServer.DacFx 162.2.111 and other versions
Product | Versions |
---|---|
Microsoft.SQLServer.DacFx | 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111 |
C#
protected T GetService<T>(Microsoft.SqlServer.Dac.Extensibility.IExportableMetadata metadata) where T : Microsoft.SqlServer.Dac.Extensibility.IExportable;
member this.GetService : Microsoft.SqlServer.Dac.Extensibility.IExportableMetadata -> 'T (requires 'T :> Microsoft.SqlServer.Dac.Extensibility.IExportable)
Protected Function GetService(Of T As IExportable) (metadata As IExportableMetadata) As T
Type Parameters
- T
Parameters
- metadata
- IExportableMetadata
Returns
T
Applies to
Microsoft.SQLServer.DacFx 162.2.111 and other versions
Product | Versions |
---|---|
Microsoft.SQLServer.DacFx | 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111 |