Поделиться через


Класс PropertySourceSubObjectTypeAttribute

The PropertySourceSubObjectTypeAttribute class contains the represents the attribute that is attached to the property source sub-object type in policy-based management.

Иерархия наследования

System.Object
  System.Attribute
    Microsoft.SqlServer.Management.Facets.PropertySourceSubObjectTypeAttribute

Пространство имен:  Microsoft.SqlServer.Management.Facets
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PropertySourceSubObjectTypeAttribute _
    Inherits Attribute
'Применение
Dim instance As PropertySourceSubObjectTypeAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class PropertySourceSubObjectTypeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = true)]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class PropertySourceSubObjectTypeAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type PropertySourceSubObjectTypeAttribute =  
    class 
        inherit Attribute 
    end
public final class PropertySourceSubObjectTypeAttribute extends Attribute

Тип PropertySourceSubObjectTypeAttribute обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод PropertySourceSubObjectTypeAttribute Initializes a new instance of the PropertySourceSubObjectTypeAttribute class that has the specified source type.

В начало

Свойства

  Имя Описание
Открытое свойство SourceType Gets the source type that is associated with the attribute.
Открытое свойство TypeId (Производный от Attribute.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Attribute.)
Открытый метод GetHashCode (Производный от Attribute.)
Открытый метод GetType (Производный от Object.)
Открытый метод IsDefaultAttribute (Производный от Attribute.)
Открытый метод Match (Производный от Attribute.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод _Attribute.GetIDsOfNames (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.GetTypeInfo (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.GetTypeInfoCount (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.Invoke (Производный от Attribute.)

В начало

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Facets