inetmgr 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. data/README.rdoc +159 -0
  2. data/RELEASE-NOTES.rdoc +35 -0
  3. data/doc/Application.html +177 -0
  4. data/doc/ApplicationPool.html +177 -0
  5. data/doc/AutoStartProvider.html +177 -0
  6. data/doc/BindingInformation.html +349 -0
  7. data/doc/Configuration.html +283 -0
  8. data/doc/IisConfiguration.html +383 -0
  9. data/doc/IisObject.html +484 -0
  10. data/doc/IisObjectCollection.html +534 -0
  11. data/doc/Inetmgr.html +179 -0
  12. data/doc/Inetmgr/InetmgrTask.html +338 -0
  13. data/doc/Object.html +254 -0
  14. data/doc/PeriodicRestart.html +177 -0
  15. data/doc/ProcessModel.html +192 -0
  16. data/doc/README_rdoc.html +114 -0
  17. data/doc/RSpecExtensions.html +257 -0
  18. data/doc/Recycling.html +177 -0
  19. data/doc/Site.html +228 -0
  20. data/doc/SiteConfiguration.html +269 -0
  21. data/doc/SiteLimit.html +177 -0
  22. data/doc/VirtualDirectory.html +177 -0
  23. data/doc/images/brick.png +0 -0
  24. data/doc/images/brick_link.png +0 -0
  25. data/doc/images/bug.png +0 -0
  26. data/doc/images/bullet_black.png +0 -0
  27. data/doc/images/bullet_toggle_minus.png +0 -0
  28. data/doc/images/bullet_toggle_plus.png +0 -0
  29. data/doc/images/date.png +0 -0
  30. data/doc/images/find.png +0 -0
  31. data/doc/images/loadingAnimation.gif +0 -0
  32. data/doc/images/macFFBgHack.png +0 -0
  33. data/doc/images/package.png +0 -0
  34. data/doc/images/page_green.png +0 -0
  35. data/doc/images/page_white_text.png +0 -0
  36. data/doc/images/page_white_width.png +0 -0
  37. data/doc/images/plugin.png +0 -0
  38. data/doc/images/ruby.png +0 -0
  39. data/doc/images/tag_green.png +0 -0
  40. data/doc/images/wrench.png +0 -0
  41. data/doc/images/wrench_orange.png +0 -0
  42. data/doc/images/zoom.png +0 -0
  43. data/doc/index.html +166 -0
  44. data/doc/js/darkfish.js +116 -0
  45. data/doc/js/jquery.js +32 -0
  46. data/doc/js/quicksearch.js +114 -0
  47. data/doc/js/thickbox-compressed.js +10 -0
  48. data/doc/rdoc.css +706 -0
  49. data/inetmgr.gemspec +21 -0
  50. data/lib/inetmgr.rb +30 -0
  51. data/lib/inetmgr/configuration.rb +23 -0
  52. data/lib/inetmgr/iis_configuration.rb +36 -0
  53. data/lib/inetmgr/iis_object.rb +85 -0
  54. data/lib/inetmgr/iis_object/application.rb +11 -0
  55. data/lib/inetmgr/iis_object/application_pool.rb +19 -0
  56. data/lib/inetmgr/iis_object/auto_start_provider.rb +3 -0
  57. data/lib/inetmgr/iis_object/binding_information.rb +26 -0
  58. data/lib/inetmgr/iis_object/periodic_restart.rb +3 -0
  59. data/lib/inetmgr/iis_object/process_model.rb +18 -0
  60. data/lib/inetmgr/iis_object/recycling.rb +5 -0
  61. data/lib/inetmgr/iis_object/site.rb +24 -0
  62. data/lib/inetmgr/iis_object/site_limit.rb +7 -0
  63. data/lib/inetmgr/iis_object/virtual_directory.rb +5 -0
  64. data/lib/inetmgr/iis_object_collection.rb +51 -0
  65. data/lib/inetmgr/site_configuration.rb +34 -0
  66. data/lib/rake/inetmgrtask.rb +74 -0
  67. data/lib/string.rb +5 -0
  68. data/nbproject/private/config.properties +0 -0
  69. data/nbproject/private/private.properties +4 -0
  70. data/nbproject/private/private.xml +4 -0
  71. data/nbproject/private/rake-d.txt +2 -0
  72. data/nbproject/project.properties +10 -0
  73. data/nbproject/project.xml +16 -0
  74. data/spec/application_pool_spec.rb +120 -0
  75. data/spec/application_spec.rb +38 -0
  76. data/spec/auto_start_provider_spec.rb +25 -0
  77. data/spec/bingin_information_spec.rb +21 -0
  78. data/spec/iis_configuration_spec.rb +35 -0
  79. data/spec/site_app_settings_spec.rb +61 -0
  80. data/spec/site_configuration_spec.rb +24 -0
  81. data/spec/site_connection_strings_spec.rb +17 -0
  82. data/spec/site_spec.rb +34 -0
  83. data/spec/site_validation_settings_spec.rb +18 -0
  84. data/spec/spec_env.rb +22 -0
  85. data/spec/string_spec.rb +16 -0
  86. data/spec/virtual_directory_spec.rb +1 -0
  87. data/test/create_site.rb +26 -0
  88. data/test/print_iis_config.rb +56 -0
  89. data/test/rakefile.rb +27 -0
  90. metadata +156 -0
@@ -0,0 +1,283 @@
1
+ <?xml version="1.0" encoding="IBM437"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
7
+
8
+ <title>Class: Configuration</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="./js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="./js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="./index.html">Home</a>
29
+ <a href="./index.html#classes">Classes</a>
30
+ <a href="./index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="./lib/inetmgr/configuration_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/inetmgr/configuration.rb">lib/inetmgr/configuration.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link"><a href="Object.html">Object</a></p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+ <div id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+ <ul class="link-list">
71
+
72
+ <li><a href="#method-c-new">::new</a></li>
73
+
74
+ <li><a href="#method-i-apply_changes">#apply_changes</a></li>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+
80
+ <!-- Included Modules -->
81
+
82
+ </div>
83
+
84
+ <div id="project-metadata">
85
+
86
+
87
+ <div id="fileindex-section" class="section project-section">
88
+ <h3 class="section-header">Files</h3>
89
+ <ul>
90
+
91
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
92
+
93
+ <li class="file"><a href="./RELEASE-NOTES_rdoc.html">RELEASE-NOTES.rdoc</a></li>
94
+
95
+ <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
96
+
97
+ </ul>
98
+ </div>
99
+
100
+
101
+ <div id="classindex-section" class="section project-section">
102
+ <h3 class="section-header">Class/Module Index
103
+ <span class="search-toggle"><img src="./images/find.png"
104
+ height="16" width="16" alt="[+]"
105
+ title="show/hide quicksearch" /></span></h3>
106
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
107
+ <fieldset>
108
+ <legend>Quicksearch</legend>
109
+ <input type="text" name="quicksearch" value=""
110
+ class="quicksearch-field" />
111
+ </fieldset>
112
+ </form>
113
+
114
+ <ul class="link-list">
115
+
116
+ <li><a href="./Inetmgr.html">Inetmgr</a></li>
117
+
118
+ <li><a href="./Inetmgr/InetmgrTask.html">Inetmgr::InetmgrTask</a></li>
119
+
120
+ <li><a href="./Application.html">Application</a></li>
121
+
122
+ <li><a href="./ApplicationPool.html">ApplicationPool</a></li>
123
+
124
+ <li><a href="./AutoStartProvider.html">AutoStartProvider</a></li>
125
+
126
+ <li><a href="./BindingInformation.html">BindingInformation</a></li>
127
+
128
+ <li><a href="./Configuration.html">Configuration</a></li>
129
+
130
+ <li><a href="./IisConfiguration.html">IisConfiguration</a></li>
131
+
132
+ <li><a href="./IisObject.html">IisObject</a></li>
133
+
134
+ <li><a href="./IisObjectCollection.html">IisObjectCollection</a></li>
135
+
136
+ <li><a href="./Object.html">Object</a></li>
137
+
138
+ <li><a href="./PeriodicRestart.html">PeriodicRestart</a></li>
139
+
140
+ <li><a href="./ProcessModel.html">ProcessModel</a></li>
141
+
142
+ <li><a href="./RSpecExtensions.html">RSpecExtensions</a></li>
143
+
144
+ <li><a href="./Recycling.html">Recycling</a></li>
145
+
146
+ <li><a href="./Site.html">Site</a></li>
147
+
148
+ <li><a href="./SiteConfiguration.html">SiteConfiguration</a></li>
149
+
150
+ <li><a href="./SiteLimit.html">SiteLimit</a></li>
151
+
152
+ <li><a href="./VirtualDirectory.html">VirtualDirectory</a></li>
153
+
154
+ </ul>
155
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
156
+ </div>
157
+
158
+
159
+ </div>
160
+ </div>
161
+
162
+ <div id="documentation">
163
+ <h1 class="class">Configuration</h1>
164
+
165
+ <div id="description">
166
+
167
+ </div>
168
+
169
+ <!-- Constants -->
170
+
171
+ <div id="constants-list" class="section">
172
+ <h3 class="section-header">Constants</h3>
173
+ <dl>
174
+
175
+ <dt><a name="CommitPath">CommitPath</a></dt>
176
+
177
+ <dd class="description"></dd>
178
+
179
+
180
+ </dl>
181
+ </div>
182
+
183
+
184
+ <!-- Attributes -->
185
+
186
+
187
+ <!-- Methods -->
188
+
189
+ <div id="public-class-method-details" class="method-section section">
190
+ <h3 class="section-header">Public Class Methods</h3>
191
+
192
+
193
+ <div id="new-method" class="method-detail ">
194
+ <a name="method-c-new"></a>
195
+
196
+
197
+ <div class="method-heading">
198
+ <span class="method-name">new</span><span
199
+ class="method-args">(path)</span>
200
+ <span class="method-click-advice">click to toggle source</span>
201
+ </div>
202
+
203
+
204
+ <div class="method-description">
205
+
206
+
207
+
208
+
209
+
210
+ <div class="method-source-code"
211
+ id="new-source">
212
+ <pre>
213
+ <span class="ruby-comment"># File lib/inetmgr/configuration.rb, line 4</span>
214
+ def initialize(path)
215
+ <span class="ruby-ivar">@admin_manager</span> = <span class="ruby-constant">WIN32OLE</span>.new <span class="ruby-string">&quot;Microsoft.ApplicationHost.WritableAdminManager&quot;</span>
216
+ <span class="ruby-ivar">@admin_manager</span>.<span class="ruby-constant">CommitPath</span> = path;
217
+ end</pre>
218
+ </div>
219
+
220
+ </div>
221
+
222
+
223
+
224
+
225
+ </div>
226
+
227
+
228
+ </div>
229
+
230
+ <div id="public-instance-method-details" class="method-section section">
231
+ <h3 class="section-header">Public Instance Methods</h3>
232
+
233
+
234
+ <div id="apply_changes-method" class="method-detail ">
235
+ <a name="method-i-apply_changes"></a>
236
+
237
+
238
+ <div class="method-heading">
239
+ <span class="method-name">apply_changes</span><span
240
+ class="method-args">()</span>
241
+ <span class="method-click-advice">click to toggle source</span>
242
+ </div>
243
+
244
+
245
+ <div class="method-description">
246
+
247
+ <p>applies/commits all changes made since the creation of the <a
248
+ href="IisConfiguration.html">IisConfiguration</a> instance or the last time
249
+ this method was called.</p>
250
+
251
+
252
+
253
+ <div class="method-source-code"
254
+ id="apply_changes-source">
255
+ <pre>
256
+ <span class="ruby-comment"># File lib/inetmgr/configuration.rb, line 11</span>
257
+ def apply_changes
258
+ <span class="ruby-ivar">@admin_manager</span>.<span class="ruby-constant">CommitChanges</span>
259
+ end</pre>
260
+ </div>
261
+
262
+ </div>
263
+
264
+
265
+
266
+
267
+ </div>
268
+
269
+
270
+ </div>
271
+
272
+
273
+ </div>
274
+
275
+ <div id="validator-badges">
276
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
277
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
278
+ Rdoc Generator</a> 2</small>.</p>
279
+ </div>
280
+
281
+ </body>
282
+ </html>
283
+
@@ -0,0 +1,383 @@
1
+ <?xml version="1.0" encoding="IBM437"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
7
+
8
+ <title>Class: IisConfiguration</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="./js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="./js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="./index.html">Home</a>
29
+ <a href="./index.html#classes">Classes</a>
30
+ <a href="./index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="./lib/inetmgr/iis_configuration_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/inetmgr/iis_configuration.rb">lib/inetmgr/iis_configuration.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link"><a href="Configuration.html">Configuration</a></p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+ <div id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+ <ul class="link-list">
71
+
72
+ <li><a href="#method-c-configure">::configure</a></li>
73
+
74
+ <li><a href="#method-c-new">::new</a></li>
75
+
76
+ <li><a href="#method-i-get_application_pools">#get_application_pools</a></li>
77
+
78
+ <li><a href="#method-i-get_auto_start_providers">#get_auto_start_providers</a></li>
79
+
80
+ <li><a href="#method-i-get_sites">#get_sites</a></li>
81
+
82
+ </ul>
83
+ </div>
84
+
85
+
86
+ <!-- Included Modules -->
87
+
88
+ </div>
89
+
90
+ <div id="project-metadata">
91
+
92
+
93
+ <div id="fileindex-section" class="section project-section">
94
+ <h3 class="section-header">Files</h3>
95
+ <ul>
96
+
97
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
98
+
99
+ <li class="file"><a href="./RELEASE-NOTES_rdoc.html">RELEASE-NOTES.rdoc</a></li>
100
+
101
+ <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
102
+
103
+ </ul>
104
+ </div>
105
+
106
+
107
+ <div id="classindex-section" class="section project-section">
108
+ <h3 class="section-header">Class/Module Index
109
+ <span class="search-toggle"><img src="./images/find.png"
110
+ height="16" width="16" alt="[+]"
111
+ title="show/hide quicksearch" /></span></h3>
112
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
113
+ <fieldset>
114
+ <legend>Quicksearch</legend>
115
+ <input type="text" name="quicksearch" value=""
116
+ class="quicksearch-field" />
117
+ </fieldset>
118
+ </form>
119
+
120
+ <ul class="link-list">
121
+
122
+ <li><a href="./Inetmgr.html">Inetmgr</a></li>
123
+
124
+ <li><a href="./Inetmgr/InetmgrTask.html">Inetmgr::InetmgrTask</a></li>
125
+
126
+ <li><a href="./Application.html">Application</a></li>
127
+
128
+ <li><a href="./ApplicationPool.html">ApplicationPool</a></li>
129
+
130
+ <li><a href="./AutoStartProvider.html">AutoStartProvider</a></li>
131
+
132
+ <li><a href="./BindingInformation.html">BindingInformation</a></li>
133
+
134
+ <li><a href="./Configuration.html">Configuration</a></li>
135
+
136
+ <li><a href="./IisConfiguration.html">IisConfiguration</a></li>
137
+
138
+ <li><a href="./IisObject.html">IisObject</a></li>
139
+
140
+ <li><a href="./IisObjectCollection.html">IisObjectCollection</a></li>
141
+
142
+ <li><a href="./Object.html">Object</a></li>
143
+
144
+ <li><a href="./PeriodicRestart.html">PeriodicRestart</a></li>
145
+
146
+ <li><a href="./ProcessModel.html">ProcessModel</a></li>
147
+
148
+ <li><a href="./RSpecExtensions.html">RSpecExtensions</a></li>
149
+
150
+ <li><a href="./Recycling.html">Recycling</a></li>
151
+
152
+ <li><a href="./Site.html">Site</a></li>
153
+
154
+ <li><a href="./SiteConfiguration.html">SiteConfiguration</a></li>
155
+
156
+ <li><a href="./SiteLimit.html">SiteLimit</a></li>
157
+
158
+ <li><a href="./VirtualDirectory.html">VirtualDirectory</a></li>
159
+
160
+ </ul>
161
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
162
+ </div>
163
+
164
+
165
+ </div>
166
+ </div>
167
+
168
+ <div id="documentation">
169
+ <h1 class="class">IisConfiguration</h1>
170
+
171
+ <div id="description">
172
+
173
+ <p>Represents the local IIS configuration settings (meta base).</p>
174
+
175
+ </div>
176
+
177
+ <!-- Constants -->
178
+
179
+
180
+ <!-- Attributes -->
181
+
182
+
183
+ <!-- Methods -->
184
+
185
+ <div id="public-class-method-details" class="method-section section">
186
+ <h3 class="section-header">Public Class Methods</h3>
187
+
188
+
189
+ <div id="configure-method" class="method-detail ">
190
+ <a name="method-c-configure"></a>
191
+
192
+
193
+ <div class="method-heading">
194
+ <span class="method-name">configure</span><span
195
+ class="method-args">()</span>
196
+ <span class="method-click-advice">click to toggle source</span>
197
+ </div>
198
+
199
+
200
+ <div class="method-description">
201
+
202
+
203
+
204
+
205
+
206
+ <div class="method-source-code"
207
+ id="configure-source">
208
+ <pre>
209
+ <span class="ruby-comment"># File lib/inetmgr/iis_configuration.rb, line 9</span>
210
+ def self.configure
211
+ cfg = <span class="ruby-constant">IisConfiguration</span>.new
212
+ yield cfg
213
+ cfg.apply_changes
214
+ end</pre>
215
+ </div>
216
+
217
+ </div>
218
+
219
+
220
+
221
+
222
+ </div>
223
+
224
+
225
+ <div id="new-method" class="method-detail ">
226
+ <a name="method-c-new"></a>
227
+
228
+
229
+ <div class="method-heading">
230
+ <span class="method-name">new</span><span
231
+ class="method-args">()</span>
232
+ <span class="method-click-advice">click to toggle source</span>
233
+ </div>
234
+
235
+
236
+ <div class="method-description">
237
+
238
+
239
+
240
+
241
+
242
+ <div class="method-source-code"
243
+ id="new-source">
244
+ <pre>
245
+ <span class="ruby-comment"># File lib/inetmgr/iis_configuration.rb, line 5</span>
246
+ def initialize
247
+ super <span class="ruby-string">&quot;MACHINE/WEBROOT/APPHOST&quot;</span>
248
+ end</pre>
249
+ </div>
250
+
251
+ </div>
252
+
253
+
254
+
255
+
256
+ </div>
257
+
258
+
259
+ </div>
260
+
261
+ <div id="public-instance-method-details" class="method-section section">
262
+ <h3 class="section-header">Public Instance Methods</h3>
263
+
264
+
265
+ <div id="get_application_pools-method" class="method-detail ">
266
+ <a name="method-i-get_application_pools"></a>
267
+
268
+
269
+ <div class="method-heading">
270
+ <span class="method-name">get_application_pools</span><span
271
+ class="method-args">()</span>
272
+ <span class="method-click-advice">click to toggle source</span>
273
+ </div>
274
+
275
+
276
+ <div class="method-description">
277
+
278
+ <p>Gets all configure application pools.</p>
279
+
280
+
281
+
282
+ <div class="method-source-code"
283
+ id="get_application_pools-source">
284
+ <pre>
285
+ <span class="ruby-comment"># File lib/inetmgr/iis_configuration.rb, line 22</span>
286
+ def get_application_pools
287
+ s = get_config_section <span class="ruby-string">&quot;system.applicationHost/applicationPools&quot;</span>
288
+ <span class="ruby-constant">IisObjectCollection</span>.new s.<span class="ruby-constant">Collection</span>, :add, <span class="ruby-constant">ApplicationPool</span>
289
+ end</pre>
290
+ </div>
291
+
292
+ </div>
293
+
294
+
295
+
296
+
297
+ </div>
298
+
299
+
300
+ <div id="get_auto_start_providers-method" class="method-detail ">
301
+ <a name="method-i-get_auto_start_providers"></a>
302
+
303
+
304
+ <div class="method-heading">
305
+ <span class="method-name">get_auto_start_providers</span><span
306
+ class="method-args">()</span>
307
+ <span class="method-click-advice">click to toggle source</span>
308
+ </div>
309
+
310
+
311
+ <div class="method-description">
312
+
313
+ <p>Gets all configured service auto start providers.</p>
314
+
315
+
316
+
317
+ <div class="method-source-code"
318
+ id="get_auto_start_providers-source">
319
+ <pre>
320
+ <span class="ruby-comment"># File lib/inetmgr/iis_configuration.rb, line 28</span>
321
+ def get_auto_start_providers
322
+ s = get_config_section <span class="ruby-string">&quot;system.applicationHost/serviceAutoStartProviders&quot;</span>
323
+ <span class="ruby-constant">IisObjectCollection</span>.new s.<span class="ruby-constant">Collection</span>, :add, <span class="ruby-constant">AutoStartProvider</span>
324
+ end</pre>
325
+ </div>
326
+
327
+ </div>
328
+
329
+
330
+
331
+
332
+ </div>
333
+
334
+
335
+ <div id="get_sites-method" class="method-detail ">
336
+ <a name="method-i-get_sites"></a>
337
+
338
+
339
+ <div class="method-heading">
340
+ <span class="method-name">get_sites</span><span
341
+ class="method-args">()</span>
342
+ <span class="method-click-advice">click to toggle source</span>
343
+ </div>
344
+
345
+
346
+ <div class="method-description">
347
+
348
+ <p>Gets all configured web sites.</p>
349
+
350
+
351
+
352
+ <div class="method-source-code"
353
+ id="get_sites-source">
354
+ <pre>
355
+ <span class="ruby-comment"># File lib/inetmgr/iis_configuration.rb, line 16</span>
356
+ def get_sites
357
+ s = get_config_section <span class="ruby-string">&quot;system.applicationHost/sites&quot;</span>
358
+ <span class="ruby-constant">IisObjectCollection</span>.new s.<span class="ruby-constant">Collection</span>, :site, <span class="ruby-constant">Site</span>, lambda { |site| site.id = s.<span class="ruby-constant">Collection</span>.<span class="ruby-constant">Count</span> + 1 }
359
+ end</pre>
360
+ </div>
361
+
362
+ </div>
363
+
364
+
365
+
366
+
367
+ </div>
368
+
369
+
370
+ </div>
371
+
372
+
373
+ </div>
374
+
375
+ <div id="validator-badges">
376
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
377
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
378
+ Rdoc Generator</a> 2</small>.</p>
379
+ </div>
380
+
381
+ </body>
382
+ </html>
383
+