共用方式為


ISqlServerOptions 介面

模型化 SQL Server 執行個體的設定。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Interface ISqlServerOptions _
    Inherits ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement, IModelElement,  _
    IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface ISqlServerOptions : ISqlSecurable, 
    ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, 
    IModelAnnotationHolder
public interface class ISqlServerOptions : ISqlSecurable, 
    ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, 
    IModelAnnotationHolder
type ISqlServerOptions =  
    interface
        interface ISqlSecurable
        interface ISqlModelElement
        interface IScriptSourcedModelElement
        interface IModelElement
        interface IModelPropertyContainer
        interface IModelEntity
        interface IModelAnnotationHolder
    end
public interface ISqlServerOptions extends ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder

ISqlServerOptions 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Affinity64Mask 取得或設定模型化「相似性 64 遮罩」sp_configure 選項的值。
公用屬性 AffinityMask 取得或設定模型化「關連遮罩」sp_configure 選項的值。
公用屬性 Collation 取得或設定伺服器定序。
公用屬性 CostThresholdForParallelism 取得或設定模型化「平行處理原則的成本臨界值」sp_configure 選項的值。
公用屬性 CursorThreshold 取得或設定模型化「資料指標臨界值」sp_configure 選項的值。
公用屬性 DefaultFillFactor 取得或設定模型化「填滿因數」sp_configure 選項的值。
公用屬性 DefaultFulltextLanguage 取得或設定模型化「預設全文檢索語言」sp_configure 選項的值。
公用屬性 DefaultLanguage 取得或設定模型化「預設語言」sp_configure 選項的值。
公用屬性 DisableDefaultConstraintChecking 取得或設定模型化 DISABLE_DEF_CNST_CHK 設定的值。
公用屬性 DoAllowRemoteAccess 取得或設定模型化「允許遠端存取」sp_configure 選項的值。
公用屬性 DoAllowUpdates 取得或設定模型化「允許更新」sp_configure 選項的值。
公用屬性 ElementClass 取得項目的中繼資料類別。 (繼承自 IModelElement)。
公用屬性 ImplicitTransactions 取得或設定模型化預設 IMPLICIT_TRANSACTIONS 設定的值。
公用屬性 IndexCreateMemory 取得或設定模型化「索引建立記憶體」sp_configure 選項的值。
公用屬性 IsAnsiNullDefaultOff 取得或設定模型化 ANSI_NULL_DFLT_OFF 設定的值。
公用屬性 IsAnsiNullDefaultOn 取得或設定模型化 ANSI_NULL_DFLT_ON 設定的值。
公用屬性 IsAnsiNullsOn 取得或設定模型化預設 ANSI_NULLS 設定的值。
公用屬性 IsAnsiPaddingOn 取得或設定模型化預設 ANSI_PADDING 設定的值。
公用屬性 IsAnsiWarningsOn 取得或設定模型化預設 ANSI_WARNINGS 設定的值。
公用屬性 IsArithAbortOn 取得或設定模型化預設 ARITHABORT 設定的值。
公用屬性 IsArithIgnoreOn 取得或設定模型化預設 ARITHIGNORE 設定的值。
公用屬性 IsAweEnabled 取得或設定模型化「AWE 已啟用」sp_configure 選項的值。
公用屬性 IsC2AuditModeOn 取得或設定模型化「C2 稽核模式」sp_configure 選項的值。
公用屬性 IsConcatNullYieldsNullOn 取得或設定模型化預設 CONCAT_NULL_YIELDS_NULL 設定的值。
公用屬性 IsCrossDbOwnershipChainingOn 取得或設定模型化「跨資料庫擁有權鏈結」sp_configure 選項的值。
公用屬性 IsCursorCloseOnCommitOn 取得或設定模型化預設 CURSOR_CLOSE_ON_COMMIT 設定的值。
公用屬性 IsLightweightPoolingOn 取得或設定模型化「輕量型共用」sp_configure 選項的值。
公用屬性 IsNestedTriggersEnabled 取得或設定模型化「巢狀觸發程序」sp_configure 選項的值。
公用屬性 IsNocountOn 取得或設定模型化預設 NOCOUNT 設定的值。
公用屬性 IsNumericRoundAbortOn 取得或設定模型化預設 NUMERIC_ROUND_ABORT 設定的值。
公用屬性 IsPriorityBoostEnabled 取得或設定模型化「優先權提升」sp_configure 選項的值。
公用屬性 IsQuotedIdentifierOn 取得或設定模型化預設 QUOTED_IDENTIFIER 設定的值。
公用屬性 IsRemoteProcTransactionEnabled 取得或設定模型化「遠端程序交易」sp_configure 選項的值。
公用屬性 IsScanForStartupProcsEnabled 取得或設定模型化「掃描啟動程序」sp_configure 選項的值。
公用屬性 IsSetWorkingSetSizeEnabled 取得或設定模型化「設定工作組大小」sp_configure 選項的值。
公用屬性 IsShowAdvancedOptionEnabled 取得或設定模型化「顯示進階選項」sp_configure 選項的值。
公用屬性 Locks 取得或設定模型化「鎖定」sp_configure 選項的值。
公用屬性 MaxDegreeOfParallelism 取得或設定模型化「平行處理原則的最大程度」sp_configure 選項的值。
公用屬性 MaxServerMemory 取得或設定模型化「最大伺服器記憶體」sp_configure 選項的值。
公用屬性 MaxTextReplSize 取得或設定模型化「文字取代大小上限」sp_configure 選項的值。
公用屬性 MaxWorkerThreads 取得或設定模型化「最大工作者執行緒」sp_configure 選項的值。
公用屬性 MediaRetention 取得或設定模型化「媒體保留」sp_configure 選項的值。
公用屬性 MinMemoryPerQuery 取得或設定模型化「每個查詢的最小記憶體」sp_configure 選項的值。
公用屬性 MinServerMemory 取得或設定模型化「最小伺服器記憶體」sp_configure 選項的值。
公用屬性 Model 取得模型參考。 (繼承自 IModelEntity)。
公用屬性 Name 取得或設定項目的名稱。 (繼承自 IModelElement)。
公用屬性 NetworkPacketSize 取得或設定模型化「網路封包大小」sp_configure 選項的值。
公用屬性 OpenObjects 取得或設定模型化「開啟物件」sp_configure 選項的值。
公用屬性 Permissions 取得套用至此物件之使用權限的清單。 (繼承自 ISqlSecurable)。
公用屬性 PrimarySource 取得項目之主要來源的相關資訊。 (繼承自 IScriptSourcedModelElement)。
公用屬性 QueryGovernorCostlimit 取得或設定模型化「查詢管理員成本限制」sp_configure 選項的值。
公用屬性 QueryWait 取得或設定模型化「查詢等候」sp_configure 選項的值。
公用屬性 RecoveryInterval 取得或設定模型化「復原間隔」sp_configure 選項的值。
公用屬性 RemoteLoginTimeout 取得或設定模型化「遠端登入逾時」sp_configure 選項的值。
公用屬性 RemoteQueryTimeout 取得或設定模型化「遠端查詢逾時」sp_configure 選項的值。
公用屬性 ResolutionStatus 取得或設定模型項目解析狀態的值。 (繼承自 IModelElement)。
公用屬性 SecondarySources 取得項目的次要來源清單。 (繼承自 IScriptSourcedModelElement)。
公用屬性 SourceCodePositions 取得定義這個項目的來源清單。 (繼承自 IModelElement)。
公用屬性 TransactionAbort 取得或設定模型化 XACT_ABORT 設定的值。
公用屬性 TwoDigitYearCuttoff 取得或設定模型化「兩位數年份的截止」sp_configure 選項的值。
公用屬性 UserConnections 取得或設定模型化「使用者連接」sp_configure 選項的值。
公用屬性 ValidationStatus 取得或設定模型項目驗證狀態的值。 (繼承自 IModelElement)。

回頁首

方法

  名稱 說明
公用方法 AddAnnotation 將指定的附註加入至這個項目。 (繼承自 IModelAnnotationHolder)。
公用方法 Delete 從模型刪除這個執行個體。 (繼承自 IModelElement)。
公用方法 GetAnnotations() 傳回附加至這個項目之附註的清單。 (繼承自 IModelAnnotationHolder)。
公用方法 GetAnnotations(Type) 傳回指定型別之附加附註的清單。 (繼承自 IModelAnnotationHolder)。
公用方法 GetAnnotations(ModelIdentifier) 傳回具有指定識別項之附加附註的清單。 (繼承自 IModelAnnotationHolder)。
公用方法 GetAnnotations(ModelIdentifier, Type) (繼承自 IModelAnnotationHolder)。
公用方法 GetAnnotations<TType>() 傳回實作指定之附註型別且具有指定之模型識別項的所有附加模型附註。 (繼承自 IModelAnnotationHolder)。
公用方法 GetAnnotations<TType>(ModelIdentifier) (繼承自 IModelAnnotationHolder)。
公用方法 GetComposingChildren 傳回這個項目的組成子系清單。 (繼承自 IModelElement)。
公用方法 GetHierarchicalChildren 傳回這個項目的階層式子系清單。 (繼承自 IModelElement)。
公用方法 GetOwnerInfo 傳回項目擁有者的相關資訊。 (繼承自 IModelElement)。
公用方法 GetPermissionsRelationship 傳回 this 與關聯 ISqlPermissionStatement 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlSecurable)。
公用方法 GetProperty<TProperty> 取得指定的屬性。 (繼承自 IModelPropertyContainer)。
公用方法 GetReferencedDanglingRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於關聯性的左邊,而關聯性的右邊沒有項目,或是右邊的項目不存在於模型中。 (繼承自 IModelElement)。
公用方法 GetReferencedElements 傳回與這個項目有關聯的項目清單,其中,這個項目位於關聯性的左邊。 (繼承自 IModelElement)。
公用方法 GetReferencedRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於左邊。 (繼承自 IModelElement)。
公用方法 GetReferencingElements 傳回與這個項目有關聯的項目清單,其中,這個項目位於右邊。 (繼承自 IModelElement)。
公用方法 GetReferencingRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於右邊。 (繼承自 IModelElement)。
公用方法 GetRelationship(ModelRelationshipClass) 使用提供的中繼資料,傳回所要求的關聯性。 (繼承自 IModelElement)。
公用方法 GetRelationship<TFrom, TTo>(ModelRelationshipClass) 傳回關聯性,其中,兩個相關項目是指定的型別。 (繼承自 IModelElement)。
公用方法 GetRelationshipEntrySources 傳回指定之關聯性的來源資訊集合。 (繼承自 IScriptSourcedModelElement)。
公用方法 GetRelationships 傳回這個項目中的關聯性清單。 (繼承自 IModelElement)。
公用方法 IsDeleted 指定是否已刪除物件。 (繼承自 IModelElement)。
公用方法 IsExternal 傳回值,這個值表示物件是否從外部來源載入,而不是結構描述模型的一部分。 (繼承自 IModelElement)。
公用方法 RemoveAnnotation 從這個模型項目移除指定的附註。 (繼承自 IModelAnnotationHolder)。
公用方法 SetProperty<TProperty> 設定指定的屬性。 (繼承自 IModelPropertyContainer)。

回頁首

請參閱

參考

Microsoft.Data.Schema.Sql.SchemaModel 命名空間