기능제거

Operation

uninstallfeature

Syntax

stsadm -o uninstallfeature
   -filename <file name>
   -name <feature folder>
   -id <feature ID>
   [-force]

Sample

stsadm -o uninstallfeature -filename "TeamCalList\feature.xml" -force

Parameters

Parameter Value Required? Description
filename A valid file path, such as "MyFeature\Feature.xml" Yes Path to feature must be a relative path to the 12\Template\Features directory. Can be any standard character that the Windows system supports for a file name.
name Name of the feature directory, such as “MyFeature” Yes Name of the feature folder located in the 12\Template\Features folder
id A valid GUID, such as “21d186e1-7036-4092-a825-0eb6709e9281” Yes GUID that identifies the feature definition to remove
force <none> No Forces the feature to be uninstalled.

filename, name, id 매개변수 중 하나를 선택해서 입력해야 한다.


MSDN Uninstallfeature : Stsadm Operation [1]