Share via


Classe Property

The Property object provides programmatic access to the properties of all the SMO objects.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Management.Smo.Property
    Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Class Property _
    Implements ISfcProperty
'Uso
Dim instance As [Property]
public class Property : ISfcProperty
public ref class Property : ISfcProperty
type Property =  
    class 
        interface ISfcProperty 
    end
public class Property implements ISfcProperty

O tipo Property expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Dirty Gets the Boolean property value that specifies whether the property correctly reflects the current value of the entity that it represents on the instance of SQL Server.
Propriedade pública Expensive Gets the Boolean property value that specifies whether it takes a long time to load the property's values.
Propriedade pública IsNull Gets the Boolean property value that specifies whether the property is set to null.
Propriedade pública Name Gets the name of the property.
Propriedade pública Readable Gets the Boolean property value that specifies whether the value of the property can be retrieved.
Propriedade pública Retrieved Gets the Boolean property value that specifies whether the property has been retrieved already.
Propriedade pública Type Gets the type of property.
Propriedade pública Value Gets or sets the value of the property.
Propriedade pública Writable Gets the Boolean property value that specifies whether the property can be modified.

Início

Métodos

  Nome Descrição
Método público CompareTo Compares the Property object to another object.
Método público Equals Determines whether two Property objects are equal. (Substitui Object.Equals(Object).)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Substitui Object.GetHashCode().)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Returns a String value that represents the current object. (Substitui Object.ToString().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality Determines whether two objects are equal by performing an equality operation on two Property objects.
Operador públicoMembro estático GreaterThan Determines whether one object is greater than another object by performing an greater than operation on two Property objects.
Operador públicoMembro estático Inequality Determines whether two objects are unequal by performing an inequality operation on two Property objects.
Operador públicoMembro estático LessThan Determines whether one object is less than another object by performing an less than operation on two Property objects.

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Attributes Returns an attribute collection that contains properties.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Dirty Gets the Boolean property value that specifies whether the property correctly reflects the current value of the entity that it represents on the instance of SQL Server.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Enabled Gets the Boolean property value that specifies whether the property is enabled on the entity that it represents on the instance of SQL Server.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.IsNull Gets the Boolean property value that specifies whether the property is set to null.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Name Gets the name of the property.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Required Gets the Boolean property value that specifies whether the property is required,.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Type Gets the type of property.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Value Gets or sets the value of the property.
Implementações de interfaces explícitasPropriedade privada ISfcProperty.Writable Gets the Boolean property value that specifies whether the property can be modified.

Início

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Exemplos

Definindo propriedades

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo