Compartir a través de


LinkedServer.LazySchemaValidation Propiedad

Gets or sets the Boolean property value that specifies whether the schema used by the linked server data is validated when the local instance of SQL Server is idle or not.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property LazySchemaValidation As Boolean 
    Get 
    Set
'Uso
Dim instance As LinkedServer 
Dim value As Boolean 

value = instance.LazySchemaValidation

instance.LazySchemaValidation = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool LazySchemaValidation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool LazySchemaValidation {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LazySchemaValidation : bool with get, set
function get LazySchemaValidation () : boolean 
function set LazySchemaValidation (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that specifies whether the schema used by the linked server data is validated when the local instance of SQL Server is idle or not. If True, the schema is validated when the instance is idle.If False (default), the schema is validated when the data is accessed.

Ejemplos

Utilizar servidores vinculados en SMO

Vea también

Referencia

LinkedServer Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Servidores vinculados (motor de base de datos)

sp_addlinkedserver (Transact-SQL)