다음을 통해 공유


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