Skip to content

Commit eb9a71e

Browse files
committed
update refs
1 parent abc54f5 commit eb9a71e

35 files changed

+168
-168
lines changed

xml/System.Management.Instrumentation/InstrumentationType.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
The following example demonstrates how to create a management event class by using the <xref:System.Management.Instrumentation.InstrumentationType> enumeration.
2626
2727
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_InstrumentationType/cs/InstrumentationType.cs" id="Snippet1":::
28-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb" id="Snippet1":::
28+
:::code language="vb" source="~/snippets/visualbasic/System.Management.Instrumentation/InstrumentationType/Overview/InstrumentationType.vb" id="Snippet1":::
2929
3030
]]></format>
3131
</remarks>

xml/System.Management/CompletedEventArgs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The following example calls a method asynchronously. The **Win32_Process.Create** method is called to create a new process for Calc.exe.
3030
3131
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/cs/CompletedEventArgs.cs" id="Snippet1":::
32-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb" id="Snippet1":::
32+
:::code language="vb" source="~/snippets/visualbasic/System.Management/CompletedEventArgs/Overview/CompletedEventArgs.vb" id="Snippet1":::
3333
3434
]]></format>
3535
</remarks>

xml/System.Management/CompletedEventHandler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
The following example calls a method asynchronously. The **Win32_Process.Create** method is called to create a new process for Calc.exe.
3838
3939
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/cs/CompletedEventHandler.cs" id="Snippet1":::
40-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb" id="Snippet1":::
40+
:::code language="vb" source="~/snippets/visualbasic/System.Management/CompletedEventHandler/Overview/CompletedEventHandler.vb" id="Snippet1":::
4141
4242
]]></format>
4343
</remarks>

xml/System.Management/ConnectionOptions.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with default connection options.
3030
3131
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions/cs/ConnectionOptions.cs" id="Snippet1":::
32-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb" id="Snippet1":::
32+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb" id="Snippet1":::
3333
3434
]]></format>
3535
</remarks>
@@ -75,7 +75,7 @@
7575
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with default connection options.
7676
7777
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions/cs/ConnectionOptions.cs" id="Snippet1":::
78-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb" id="Snippet1":::
78+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb" id="Snippet1":::
7979
8080
]]></format>
8181
</remarks>
@@ -172,7 +172,7 @@
172172
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
173173
174174
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/cs/ConnectionOptions-9.cs" id="Snippet1":::
175-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb" id="Snippet1":::
175+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/.ctor/ConnectionOptions-9.vb" id="Snippet1":::
176176
177177
]]></format>
178178
</remarks>
@@ -217,7 +217,7 @@
217217
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
218218
219219
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/cs/ConnectionOptions_Authentication.cs" id="Snippet1":::
220-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/vb/ConnectionOptions_Authentication.vb" id="Snippet1":::
220+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Authentication/ConnectionOptions_Authentication.vb" id="Snippet1":::
221221
222222
]]></format>
223223
</remarks>
@@ -275,7 +275,7 @@ NTLMDOMAIN:<domain name>
275275
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
276276
277277
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/cs/ConnectionOptions_Authority.cs" id="Snippet1":::
278-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/vb/ConnectionOptions_Authority.vb" id="Snippet1":::
278+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Authority/ConnectionOptions_Authority.vb" id="Snippet1":::
279279
280280
]]></format>
281281
</remarks>
@@ -391,7 +391,7 @@ NTLMDOMAIN:<domain name>
391391
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
392392
393393
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/cs/ConnectionOptions_Impersonation.cs" id="Snippet1":::
394-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/vb/ConnectionOptions_Impersonation.vb" id="Snippet1":::
394+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Impersonation/ConnectionOptions_Impersonation.vb" id="Snippet1":::
395395
396396
]]></format>
397397
</remarks>
@@ -436,7 +436,7 @@ NTLMDOMAIN:<domain name>
436436
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
437437
438438
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/cs/ConnectionOptions_Locale.cs" id="Snippet1":::
439-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/vb/ConnectionOptions_Locale.vb" id="Snippet1":::
439+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Locale/ConnectionOptions_Locale.vb" id="Snippet1":::
440440
441441
]]></format>
442442
</remarks>
@@ -549,7 +549,7 @@ A blank <xref:System.Security.SecureString> ("") specifies a valid zero-length p
549549
The following example connects to a remote computer and displays information about the operating system on the remote computer. A <xref:System.Management.ConnectionOptions> is created to connect to the remote computer with the desired connection options.
550550
551551
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/cs/ConnectionOptions_Username.cs" id="Snippet1":::
552-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/vb/ConnectionOptions_Username.vb" id="Snippet1":::
552+
:::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Username/ConnectionOptions_Username.vb" id="Snippet1":::
553553
554554
]]></format>
555555
</remarks>

xml/System.Management/EnumerationOptions.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
3030
3131
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions/cs/EnumerationOptions.cs" id="Snippet1":::
32-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb" id="Snippet1":::
32+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb" id="Snippet1":::
3333
3434
]]></format>
3535
</remarks>
@@ -75,7 +75,7 @@
7575
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
7676
7777
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions/cs/EnumerationOptions.cs" id="Snippet1":::
78-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb" id="Snippet1":::
78+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb" id="Snippet1":::
7979
8080
]]></format>
8181
</remarks>
@@ -141,7 +141,7 @@
141141
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
142142
143143
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/cs/EnumerationOptions-10.cs" id="Snippet1":::
144-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb" id="Snippet1":::
144+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/.ctor/EnumerationOptions-10.vb" id="Snippet1":::
145145
146146
]]></format>
147147
</remarks>
@@ -185,7 +185,7 @@
185185
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
186186
187187
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/cs/EnumerationOptions_BlockSize.cs" id="Snippet1":::
188-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/vb/EnumerationOptions_BlockSize.vb" id="Snippet1":::
188+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/BlockSize/EnumerationOptions_BlockSize.vb" id="Snippet1":::
189189
190190
]]></format>
191191
</remarks>
@@ -265,7 +265,7 @@
265265
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
266266
267267
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/cs/EnumerationOptions_DirectRead.cs" id="Snippet1":::
268-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/vb/EnumerationOptions_DirectRead.vb" id="Snippet1":::
268+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/DirectRead/EnumerationOptions_DirectRead.vb" id="Snippet1":::
269269
270270
]]></format>
271271
</remarks>
@@ -347,7 +347,7 @@
347347
The following example initializes an <xref:System.Management.EnumerationOptions> variable with an <xref:System.Management.EnumerationOptions> constructor and then gets all the instances of a WMI class and its subclasses.
348348
349349
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/cs/EnumerationOptions_EnumerateDeep.cs" id="Snippet1":::
350-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/vb/EnumerationOptions_EnumerateDeep.vb" id="Snippet1":::
350+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/EnumerateDeep/EnumerationOptions_EnumerateDeep.vb" id="Snippet1":::
351351
352352
]]></format>
353353
</remarks>

xml/System.Management/EventArrivedEventArgs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The following asynchronous example sets up a WMI timer to raise an event every second, and removes it when no longer needed. The <xref:System.Management.ManagementEventWatcher> defines several .NET Framework events which are raised when WMI events are delivered. Delegates are attached to these events for handling the incoming data.
3030
3131
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/cs/EventArrivedEventArgs.cs" id="Snippet1":::
32-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb" id="Snippet1":::
32+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventArrivedEventArgs/Overview/EventArrivedEventArgs.vb" id="Snippet1":::
3333
3434
]]></format>
3535
</remarks>

xml/System.Management/EventArrivedEventHandler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
The following asynchronous example sets up a WMI timer to raise an event every second, and removes it when no longer needed. The <xref:System.Management.ManagementEventWatcher> defines several .NET Framework events which are raised when WMI events are delivered. Delegates are attached to these events for handling the incoming data.
3838
3939
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/cs/EventArrivedEventHandler.cs" id="Snippet1":::
40-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb" id="Snippet1":::
40+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventArrivedEventHandler/Overview/EventArrivedEventHandler.vb" id="Snippet1":::
4141
4242
]]></format>
4343
</remarks>

xml/System.Management/EventQuery.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the <xref:System.Management.ManagementEventWatcher.WaitForNextEvent%2A> method. This example can be tested by starting a process, such as Notepad, while the example code is running.
3030
3131
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery/cs/EventQuery.cs" id="Snippet1":::
32-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb" id="Snippet1":::
32+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb" id="Snippet1":::
3333
3434
]]></format>
3535
</remarks>
@@ -75,7 +75,7 @@
7575
The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the <xref:System.Management.ManagementEventWatcher.WaitForNextEvent%2A> method. This example can be tested by starting a process, such as Notepad, while the example code is running.
7676
7777
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery/cs/EventQuery.cs" id="Snippet1":::
78-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb" id="Snippet1":::
78+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb" id="Snippet1":::
7979
8080
]]></format>
8181
</remarks>
@@ -116,7 +116,7 @@
116116
The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the <xref:System.Management.ManagementEventWatcher.WaitForNextEvent%2A> method. This example can be tested by starting a process, such as Notepad, while the example code is running.
117117
118118
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery-1/cs/EventQuery-1.cs" id="Snippet1":::
119-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb" id="Snippet1":::
119+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-1.vb" id="Snippet1":::
120120
121121
]]></format>
122122
</remarks>
@@ -159,7 +159,7 @@
159159
The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the <xref:System.Management.ManagementEventWatcher.WaitForNextEvent%2A> method. This example can be tested by starting a process, such as Notepad, while the example code is running.
160160
161161
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery-2/cs/EventQuery-2.cs" id="Snippet1":::
162-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb" id="Snippet1":::
162+
:::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-2.vb" id="Snippet1":::
163163
164164
]]></format>
165165
</remarks>

0 commit comments

Comments
 (0)