IDatabaseProjectNode.AddService Method
Adds a service into the database project node.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub AddService ( _
service As Object _
)
void AddService(
Object service
)
void AddService(
Object^ service
)
abstract AddService :
service:Object -> unit
function AddService(
service : Object
)
Parameters
- service
Type: System.Object
The service to add.
Remarks
Features or other users can access this service by using the GetService method.
.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