Open Source .NET Development [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Open Source .NET Development [Electronic resources] - نسخه متنی

Brian Nantz

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


<mgmtclassgen>


A task that generates strongly typed WMI classes using mgmtclassgen.exe.

The Management Strongly Typed Class Generator enables you to quickly generate an early-bound managed class for a specified Windows Management Instrumentation (WMI) class. The generated class simplifies the code that you must write to access an instance of the WMI class.

Attribute

Description

Required

wmiclass

Specifies the name of the WMI class to generate the strongly typed class.

True

language

Specifies the language in which to generate the class. Possible values are: CS, VB, JS.

False

machine

Specifies the machine to connect to.

False

path

Specifies the path to the WMI namespace that contains the class.

False

namespace

Namespace of the generated .NET class

False

out

Path of the file to generate.

False

username

User name to use when connecting to the specified machine.

False

password

Password to use when connecting to the specified machine.

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example


<mgmtclassgen
wmiclass="Win32_LogicalDisk"
language="CS"
machine="SomeMachine"
path="Root\cimv2"
namespace="Winterdom.WMI"
out="${outputdir}\LogicalDisk.cs"
username="Administrator"
password="password"/>


    / 275