次の方法で共有


Server Explorer: Server Management Classes

Keyboard:  CTRL + ALT + S
Menu:  View -> Server Explorer
Command:  View.ServerExplorer
Versions:  2008,2010
Published:  12/31/2010
Code:  vstipTool0123

 

Work with SharePoint?  Then make sure to check out the new SharePoint Developer Team Blog!

 

The Management Classes in Server Explorer give you a view into the system.  For example, you can use management classes to see network shares: 

image

image_thumb[8]

 

 

 

Create

You can also RIGHT CLICK on a node and choose "Create" to make a new instance:

image

 

 

Unfortunately, you get a really ugly and unfriendly dialog box to use when you do this:

image

 

 

 

Generate Classes

One better way to work with the Management Classes is to RIGHT CLICK and generate classes:

image

 

This will give you a class you can leverage in code to work with:

image

image 

image

 

 

 

Click and Drag Components

The management classes can also be dragged onto a Windows form or component class design surface so you can manipulate them:

NOTE:  You can get more information here https://msdn.microsoft.com/en-us/library/84s2c1k0.aspx

image

image