Condividi tramite


Classe Property

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Class Property _
    Implements ISfcProperty
'Utilizzo
Dim instance As [Property]
public class Property : ISfcProperty
public ref class Property : ISfcProperty
type Property =  
    class 
        interface ISfcProperty 
    end
public class Property implements ISfcProperty

Nel tipo Property sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica 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.
Proprietà pubblica Expensive Gets the Boolean property value that specifies whether it takes a long time to load the property's values.
Proprietà pubblica IsNull Gets the Boolean property value that specifies whether the property is set to null.
Proprietà pubblica Name Gets the name of the property.
Proprietà pubblica Readable Gets the Boolean property value that specifies whether the value of the property can be retrieved.
Proprietà pubblica Retrieved Gets the Boolean property value that specifies whether the property has been retrieved already.
Proprietà pubblica Type Gets the type of property.
Proprietà pubblica Value Gets or sets the value of the property.
Proprietà pubblica Writable Gets the Boolean property value that specifies whether the property can be modified.

In alto

Metodi

  Nome Descrizione
Metodo pubblico CompareTo Compares the Property object to another object.
Metodo pubblico Equals Determines whether two Property objects are equal. Esegue l'override di Object.Equals(Object).
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Esegue l'override di Object.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Returns a String value that represents the current object. Esegue l'override di Object.ToString().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality Determines whether two objects are equal by performing an equality operation on two Property objects.
Operatore pubblicoMembro statico GreaterThan Determines whether one object is greater than another object by performing an greater than operation on two Property objects.
Operatore pubblicoMembro statico Inequality Determines whether two objects are unequal by performing an inequality operation on two Property objects.
Operatore pubblicoMembro statico LessThan Determines whether one object is less than another object by performing an less than operation on two Property objects.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Attributes Returns an attribute collection that contains properties.
Implementazione esplicita dell'interfacciaProprietà privata 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.
Implementazione esplicita dell'interfacciaProprietà privata 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.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.IsNull Gets the Boolean property value that specifies whether the property is set to null.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Name Gets the name of the property.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Required Gets the Boolean property value that specifies whether the property is required,.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Type Gets the type of property.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Value Gets or sets the value of the property.
Implementazione esplicita dell'interfacciaProprietà privata ISfcProperty.Writable Gets the Boolean property value that specifies whether the property can be modified.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Esempi

Impostazione delle proprietà

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo