共用方式為


LazySchemaValidation 屬性

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.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property LazySchemaValidation As Boolean
    Get
    Set
'用途
Dim instance As LinkedServer
Dim value As Boolean

value = instance.LazySchemaValidation

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

屬性值

型別: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.