Share via


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)