Clase Property
The Property object provides programmatic access to the properties of all the SMO objects.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Smo.Property
Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
El tipo Property expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
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. | |
Expensive | Gets the Boolean property value that specifies whether it takes a long time to load the property's values. | |
IsNull | Gets the Boolean property value that specifies whether the property is set to null. | |
Name | Gets the name of the property. | |
Readable | Gets the Boolean property value that specifies whether the value of the property can be retrieved. | |
Retrieved | Gets the Boolean property value that specifies whether the property has been retrieved already. | |
Type | Gets the type of property. | |
Value | Gets or sets the value of the property. | |
Writable | Gets the Boolean property value that specifies whether the property can be modified. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
CompareTo | Compares the Property object to another object. | |
Equals | Determines whether two Property objects are equal. (Invalida Object.Equals(Object).) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Invalida Object.GetHashCode().) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | Returns a String value that represents the current object. (Invalida Object.ToString().) |
Arriba
Operadores
Nombre | Descripción | |
---|---|---|
Equality | Determines whether two objects are equal by performing an equality operation on two Property objects. | |
GreaterThan | Determines whether one object is greater than another object by performing an greater than operation on two Property objects. | |
Inequality | Determines whether two objects are unequal by performing an inequality operation on two Property objects. | |
LessThan | Determines whether one object is less than another object by performing an less than operation on two Property objects. |
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
ISfcProperty.Attributes | Returns an attribute collection that contains properties. | |
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. | |
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. | |
ISfcProperty.IsNull | Gets the Boolean property value that specifies whether the property is set to null. | |
ISfcProperty.Name | Gets the name of the property. | |
ISfcProperty.Required | Gets the Boolean property value that specifies whether the property is required,. | |
ISfcProperty.Type | Gets the type of property. | |
ISfcProperty.Value | Gets or sets the value of the property. | |
ISfcProperty.Writable | Gets the Boolean property value that specifies whether the property can be modified. |
Arriba
Comentarios
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Ejemplos
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.