共用方式為


ISPStsadmCommand Interface

Adds new command-line operations and new functionality to the STSADM.EXE utility. This interface is deprecated and may not be supported in future releases of Microsoft SharePoint Foundation. For custom command line operations, see the Microsoft.SharePoint.PowerShell namespace.

Namespace:  Microsoft.SharePoint.StsAdmin
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface ISPStsadmCommand
'Usage
Dim instance As ISPStsadmCommand
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface ISPStsadmCommand

Remarks

Warning

This interface is documented only to provide assistance in troubleshooting existing extensions of STSADM.EXE. Do not create new extensions. Instead, extend PowerShell. See the Microsoft.SharePoint.PowerShell namespace.

See Also

Reference

ISPStsadmCommand Members

Microsoft.SharePoint.StsAdmin Namespace

Other Resources

How to: Extend the STSADM Utility

Stsadm.exe command-line tool (Office SharePoint Server)