Dela via


ServerAdapter Class

This class aggregates otherwise hidden server properties.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.ServerAdapterBase
    Microsoft.SqlServer.Management.Smo.ServerAdapter

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class ServerAdapter _
    Inherits ServerAdapterBase _
    Implements IDmfAdapter, IServerAuditFacet, IDmfFacet
'Usage
Dim instance As ServerAdapter
public class ServerAdapter : ServerAdapterBase, 
    IDmfAdapter, IServerAuditFacet, IDmfFacet
public ref class ServerAdapter : public ServerAdapterBase, 
    IDmfAdapter, IServerAuditFacet, IDmfFacet
type ServerAdapter =  
    class
        inherit ServerAdapterBase
        interface IDmfAdapter
        interface IServerAuditFacet
        interface IDmfFacet
    end
public class ServerAdapter extends ServerAdapterBase implements IDmfAdapter, IServerAuditFacet, IDmfFacet

The ServerAdapter type exposes the following members.

Constructors

  Name Description
Public method ServerAdapter Initializes a new instance of the ServerAdapter class.

Top

Properties

  Name Description
Public property AdHocRemoteQueriesEnabled Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property Affinity64IOMask Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property Affinity64Mask Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property AffinityIOMask Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property AffinityMask Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property AgentXPsEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property AllowUpdates Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property AweEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property BackupDirectory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property BlockedProcessThreshold Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property BrowserServiceAccount Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property BrowserStartMode Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property C2AuditTracingEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property ClrIntegrationEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property Collation Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property CommonCriteriaComplianceEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property CostThresholdForParallelism Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property CrossDBOwnershipChainingEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property CursorThreshold Gets or sets the Int32 value that determines the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property DatabaseMailEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property DefaultBackupCompressionEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property DefaultFile Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property DefaultFullTextLanguage Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property DefaultLanguage Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property DefaultLog Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property DefaultTraceEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property DisallowResultsFromTriggers Gets or sets a value that specifies whether SQL Server triggers can generate results. (Inherited from ServerAdapterBase.)
Public property DynamicLocks Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property ExtensibleKeyManagementEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property FilestreamAccessLevel Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FilestreamLevel Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FilestreamShareName Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FillFactor Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FullTextCrawlBandwidthMax Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FullTextCrawlBandwidthMin Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FullTextCrawlRangeMax Gets or sets the maximum number of partitions that SQL Server is allowed to use during a full index crawl. (Inherited from ServerAdapterBase.)
Public property FullTextNotifyBandwidthMax Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property FullTextNotifyBandwidthMin Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property IndexCreateMemory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property InDoubtTransactionResolution Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property InstallDataDirectory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property InstallSharedDirectory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property InstanceName Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property LightweightPoolingEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property LoginAuditLevel Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property LoginMode Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MaxDegreeOfParallelism Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MaxServerMemory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MaxWorkerThreads Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MediaRetention Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MinMemoryPerQuery Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property MinServerMemory Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property NamedPipesEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property NestedTriggersEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property NetworkPacketSize Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property OleAutomationEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property OpenObjects Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property OptimizeAdhocWorkloads Gets or sets a value that specifies whether optimization for ad hoc workloads is enabled. (Inherited from ServerAdapterBase.)
Public property PrecomputeRank Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property PriorityBoost Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property ProtocolHandlerTimeout Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property QueryGovernorCostLimit Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property QueryWait Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property RecoveryInterval Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property RemoteAccessEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property RemoteDacEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property RemoteLoginTimeout Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property RemoteProcTransEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property RemoteQueryTimeout Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property ReplicationMaxTextSize Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property ReplicationXPsEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property ScanForStartupProcedures Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Protected property Server Gets the Server associated with the ServerAdapterBase. (Inherited from ServerAdapterBase.)
Public property ServerTriggerRecursionEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property ServiceName Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property ServiceStartMode Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property SetWorkingSetSize Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property ShowAdvancedOptions Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property SmoAndDmoXPsEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property SqlDomainGroup Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property SqlMailEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property TcpEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property TransformNoiseWords Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property TwoDigitYearCutoff Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property UserConnections Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property UserInstancesEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property UserInstanceTimeout Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property UserOptions Gets or sets the value of the referenced property. (Inherited from ServerAdapterBase.)
Public property WebAssistantEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)
Public property XPCmdShellEnabled Gets or sets the Boolean value that determines whether the referenced property is enabled. (Inherited from ServerAdapterBase.)

Top

Methods

  Name Description
Public method Alter Updates any object property changes on the instance of SQL Server. (Inherited from ServerAdapterBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Updates the object. (Inherited from ServerAdapterBase.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class acts as the flattener for server properties that are hidden in Settings and Configuration. Facets will inherit from this class to add new logical properties, use the Alter and Refresh methods of this class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.