共用方式為


TestOwnerAttribute Class

Provides a definition for an attribute that can be used to define a test owner for a specific class.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Upgrade.TestOwnerAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TestOwnerAttribute _
    Inherits Attribute
'Usage
Dim instance As TestOwnerAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TestOwnerAttribute : Attribute

Remarks

This class cannot be extended.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TestOwnerAttribute Members

Microsoft.SharePoint.Upgrade Namespace