IDatabaseProjectNode.GetService Method
Hook into GetService so the caller can provide database services.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function GetService ( _
type As Type _
) As Object
Object GetService(
Type type
)
Object^ GetService(
Type^ type
)
abstract GetService :
type:Type -> Object
function GetService(
type : Type
) : Object
Parameters
- type
Type: System.Type
The type of service that is requested.
Return Value
Type: System.Object
The service, or null if the service could not be found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace