TestOwnerAttribute class
提供可以用來定義特定類別的測試擁有者屬性的定義。
Inheritance hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.Upgrade.TestOwnerAttribute
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<AttributeUsageAttribute(AttributeTargets.Class)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TestOwnerAttribute _
Inherits Attribute
'用途
Dim instance As TestOwnerAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TestOwnerAttribute : Attribute
備註
此類別不能擴充。
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.