ExportableBase.GetService Method
Definition
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.
Overloads
GetService<T>() | |
GetService<T>(IExportableMetadata) |
GetService<T>()
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
GetService<T>(IExportableMetadata)
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