LinkedServer.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(SfcPropertyFlags.Standalone)> _
Public Property LazySchemaValidation As Boolean 
    Get 
    Set
‘사용 방법
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)

속성 값

유형: 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.

SMO에서 연결된 서버 사용

참고 항목

참조

LinkedServer 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

연결된 서버(데이터베이스 엔진)

sp_addlinkedserver(Transact-SQL)