Skip to content

Commit 6d84d5e

Browse files
carlossanlopRon Petrusha
andcommitted
Port System.Management source comments to Docs (#2493)
* Port System.Management source comments to Docs * Apply suggestions from code review Suggestions by rpetrusha Co-Authored-By: Ron Petrusha <[email protected]>
1 parent a03587c commit 6d84d5e

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

xml/System.Management/ConnectionOptions.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,13 @@ NTLMDOMAIN:<domain name>
485485
<Docs>
486486
<summary>Sets the password for the specified user.</summary>
487487
<value>Returns a SecureString value used for the password in a connection to WMI.</value>
488-
<remarks>To be added.</remarks>
488+
<remarks>
489+
<format type="text/markdown"><![CDATA[
490+
491+
A blank <xref:System.Security.SecureString> ("") specifies a valid zero-length password.
492+
493+
]]></format>
494+
</remarks>
489495
</Docs>
490496
</Member>
491497
<Member MemberName="Username">
@@ -533,4 +539,4 @@ NTLMDOMAIN:<domain name>
533539
</Docs>
534540
</Member>
535541
</Members>
536-
</Type>
542+
</Type>

xml/System.Management/ManagementQuery.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626
</Attributes>
2727
<Docs>
2828
<summary>Provides an abstract base class for all management query objects.</summary>
29-
<remarks>To be added.</remarks>
29+
<remarks>
30+
<format type="text/markdown"><![CDATA[
31+
32+
This class is abstract; only derivatives of it are actually used in the API.
33+
34+
]]></format>
35+
</remarks>
3036
</Docs>
3137
<Members>
3238
<Member MemberName="Clone">

xml/System.Management/ObjectQuery.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
<Interfaces />
1818
<Docs>
1919
<summary>Represents a management query that returns instances or classes.</summary>
20-
<remarks>To be added.</remarks>
20+
<remarks>
21+
<format type="text/markdown"><![CDATA[
22+
23+
This class or its derivatives are used to specify a query in the <xref:System.Management.ManagementObjectSearcher>. Use a more specific query class whenever possible.
24+
25+
]]></format>
26+
</remarks>
2127
</Docs>
2228
<Members>
2329
<MemberGroup MemberName=".ctor">
@@ -158,4 +164,4 @@
158164
</Docs>
159165
</Member>
160166
</Members>
161-
</Type>
167+
</Type>

0 commit comments

Comments
 (0)