2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.EnterpriseServices / System.EnterpriseServices.Internal / IComSoapPublisher.cs
blobc3c30f063373b8aefb62d137e4042909955e33b2
1 // System.EnterpriseServices.Internal.IComSoapPublisher.cs
2 //
3 // Author:
4 // Alejandro Sánchez Acosta (raciel@es.gnu.org)
5 //
6 // Copyright (C) 2002 Alejandro Sánchez Acosta
7 //
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 //
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 //
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 using System;
31 using System.Runtime.InteropServices;
33 namespace System.EnterpriseServices.Internal
35 #if NET_1_1
36 [Guid("d8013eee-730b-45e2-ba24-874b7242c425")]
37 public interface IComSoapPublisher
39 [DispId(6)]
40 void CreateMailBox (
41 [MarshalAs(UnmanagedType.BStr)] string RootMailServer,
42 [MarshalAs(UnmanagedType.BStr)] string MailBox,
43 [MarshalAs(UnmanagedType.BStr)] out string SmtpName,
44 [MarshalAs(UnmanagedType.BStr)] out string Domain,
45 [MarshalAs(UnmanagedType.BStr)] out string PhysicalPath,
46 [MarshalAs(UnmanagedType.BStr)] out string Error);
48 [DispId(4)]
49 void CreateVirtualRoot (
50 [MarshalAs(UnmanagedType.BStr)] string Operation,
51 [MarshalAs(UnmanagedType.BStr)] string FullUrl,
52 [MarshalAs(UnmanagedType.BStr)] out string BaseUrl,
53 [MarshalAs(UnmanagedType.BStr)] out string VirtualRoot,
54 [MarshalAs(UnmanagedType.BStr)] out string PhysicalPath,
55 [MarshalAs(UnmanagedType.BStr)] out string Error);
57 [DispId(7)]
58 void DeleteMailBox (
59 [MarshalAs(UnmanagedType.BStr)] string RootMailServer,
60 [MarshalAs(UnmanagedType.BStr)] string MailBox,
61 [MarshalAs(UnmanagedType.BStr)] out string Error);
63 [DispId(5)]
64 void DeleteVirtualRoot (
65 [MarshalAs(UnmanagedType.BStr)] string RootWebServer,
66 [MarshalAs(UnmanagedType.BStr)] string FullUrl,
67 [MarshalAs(UnmanagedType.BStr)] out string Error);
69 [DispId(13)]
70 void GacInstall ([MarshalAs(UnmanagedType.BStr)] string AssemblyPath);
72 [DispId(14)]
73 void GacRemove ([MarshalAs(UnmanagedType.BStr)] string AssemblyPath);
75 [DispId(15)]
76 void GetAssemblyNameForCache (
77 [MarshalAs(UnmanagedType.BStr)] string TypeLibPath,
78 [MarshalAs(UnmanagedType.BStr)] out string CachePath);
80 [return: MarshalAs(UnmanagedType.BStr)]
81 [DispId(10)]
82 string GetTypeNameFromProgId (
83 [MarshalAs(UnmanagedType.BStr)] string AssemblyPath,
84 [MarshalAs(UnmanagedType.BStr)] string ProgId);
86 [DispId(9)]
87 void ProcessClientTlb (
88 [MarshalAs(UnmanagedType.BStr)] string ProgId,
89 [MarshalAs(UnmanagedType.BStr)] string SrcTlbPath,
90 [MarshalAs(UnmanagedType.BStr)] string PhysicalPath,
91 [MarshalAs(UnmanagedType.BStr)] string VRoot,
92 [MarshalAs(UnmanagedType.BStr)] string BaseUrl,
93 [MarshalAs(UnmanagedType.BStr)] string Mode,
94 [MarshalAs(UnmanagedType.BStr)] string Transport,
95 [MarshalAs(UnmanagedType.BStr)] out string AssemblyName,
96 [MarshalAs(UnmanagedType.BStr)] out string TypeName,
97 [MarshalAs(UnmanagedType.BStr)] out string Error);
99 [DispId(8)]
100 void ProcessServerTlb (
101 [MarshalAs(UnmanagedType.BStr)] string ProgId,
102 [MarshalAs(UnmanagedType.BStr)] string SrcTlbPath,
103 [MarshalAs(UnmanagedType.BStr)] string PhysicalPath,
104 [MarshalAs(UnmanagedType.BStr)] string Operation,
105 [MarshalAs(UnmanagedType.BStr)] out string AssemblyName,
106 [MarshalAs(UnmanagedType.BStr)] out string TypeName,
107 [MarshalAs(UnmanagedType.BStr)] out string Error);
109 [DispId(11)]
110 void RegisterAssembly ([MarshalAs(UnmanagedType.BStr)] string AssemblyPath);
112 [DispId(12)]
113 void UnRegisterAssembly ([MarshalAs(UnmanagedType.BStr)] string AssemblyPath);
115 #endif