Este tópico ainda não foi avaliado como - Avalie este tópico

Classe AvailabilityReplica

SQL Server 2012

Displays the availability replica and its properties.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class AvailabilityReplica : NamedSmoObject, 
	ICreatable, IDroppable, IAlterable, IScriptable

O tipo AvailabilityReplica expõe os membros a seguir.

  NomeDescrição
Método públicoAvailabilityReplica()Initializes a new instance of the AvailabilityReplica class with specified default values.
Método públicoAvailabilityReplica(AvailabilityGroup, String)Initializes a new instance of the AvailabilityReplica class on the specified availability group and with the specified name.
Início
  NomeDescrição
Propriedade públicaAvailabilityModeGets or sets the value that represents the availability mode for the availability replica.
Propriedade públicaBackupPriorityGets or sets the value of the backup priority of the AvailabilityReplica
Propriedade públicaConnectionModeInPrimaryRoleGets or sets the connection model of the availability replica in primary role.
Propriedade públicaConnectionModeInSecondaryRoleGets or sets the connection model of the availability replica in secondary role.
Propriedade públicaConnectionStateGets the current connection state of the availability replica.
Propriedade públicaCreateDateGets the date and time when the availability replica was created.
Propriedade públicaDateLastModifiedGets the date and time when the replica was last modified.
Propriedade públicaEndpointUrlGets or sets the URL of the endpoint.
Propriedade públicaFailoverModeGets or sets the failover mode of the availability replica.
Propriedade públicaJoinStateGets the availability replica join state.
Propriedade públicaLastConnectErrorDescriptionGets or sets the description of the error during the last connection.
Propriedade públicaLastConnectErrorNumberGets or sets the number of the error during the last connection.
Propriedade públicaLastConnectErrorTimestampGets the timestamp of the error during the last connection.
Propriedade públicaMemberStateGets the state of the cluster member.
Propriedade públicaNameGets or sets the name of the object. (Herdado de NamedSmoObject.)
Propriedade públicaOperationalStateGets the value for operational state.
Propriedade públicaOwnerGets or sets the owner of the availability replica.
Propriedade públicaParentGets the availability group that is the parent of the availability replica.
Propriedade públicaPropertiesGets a collection of Property objects that represent the object properties. (Herdado de SqlSmoObject.)
Propriedade públicaQuorumVoteCountGets the quorum vote count.
Propriedade públicaReadonlyRoutingConnectionUrlGets or sets the read only routing connection url for the availability replica.
Propriedade públicaReadonlyRoutingListGets or sets the read only routing connection list for the availability replica.
Propriedade públicaRoleGets the replica role object associated with this instance.
Propriedade públicaRollupRecoveryStateGets or sets the rollup recovery state of the availability replica.
Propriedade públicaRollupSynchronizationStateGets or sets the rollup synchronization state of the availability replica.
Propriedade públicaSessionTimeoutGets or sets the timeout of the availability replica.
Propriedade públicaStateGets the state of the referenced object. (Herdado de SmoObjectBase.)
Propriedade públicaUniqueIdGets the unique, hierarchically qualified identifier for the availability replica.
Propriedade públicaUrnGets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Herdado de SqlSmoObject.)
Propriedade públicaUserDataGets or sets user-defined data associated with the referenced object. (Herdado de SmoObjectBase.)
Início
  NomeDescrição
Método públicoAlterAlters the availability replica.
Método públicoCreateCreates an availability replica for the availability group.
Método públicoDiscoverDiscovers a list of type Object. (Herdado de SqlSmoObject.)
Método públicoDropDrops an availability replica from the availability group.
Método públicoEquals (Herdado de Object.)
Método protegidoFormatSqlVariantFormats an object as SqlVariant type. (Herdado de SqlSmoObject.)
Método protegidoGetContextDBGets the context database that is associated with this object. (Herdado de SqlSmoObject.)
Método protegidoGetDBNameGets the database name that is associated with the object. (Herdado de SqlSmoObject.)
Método públicoGetHashCode (Herdado de Object.)
Método protegidoGetPropValueGets a property value of the SqlSmoObject object. (Herdado de SqlSmoObject.)
Método protegidoGetPropValueOptionalGets a property value of the SqlSmoObject object. (Herdado de SqlSmoObject.)
Método protegidoGetPropValueOptionalAllowNullGets a property value of the SqlSmoObject object. (Herdado de SqlSmoObject.)
Método protegidoGetServerObjectGets the server of the SqlSmoObject object. (Herdado de SqlSmoObject.)
Método públicoGetType (Herdado de Object.)
Método públicoInitialize()Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.)
Método públicoInitialize(Boolean)Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.)
Método protegidoIsObjectInitializedVerifies whether the object has been initialized. (Herdado de SqlSmoObject.)
Método protegidoIsObjectInSpaceVerifies whether the object is isolated or connected to the instance of SQL Server. (Herdado de SqlSmoObject.)
Método públicoRefreshReloads the availability replica. (Substitui SqlSmoObject.Refresh().)
Método públicoScript()Represents the collection of scripts used in the availability replica.
Método públicoScript(ScriptingOptions)Represents the collection of scripts with specified options used in the availability replica.
Método protegidoSetParentImplSets the parent of the SqlSmoObject to the newParent parameter. (Herdado de SqlSmoObject.)
Método públicoToStringReturns a String that represents the referenced object. (Herdado de SqlSmoObject.)
Método públicoValidateValidates the state of an object. (Herdado de SmoObjectBase.)
Início
  NomeDescrição
Evento públicoPropertyChangedRepresents the event that occurs when a property is changed. (Herdado de SqlSmoObject.)
Evento públicoPropertyMetadataChangedRepresents the event that occurs when property metadata changes. (Herdado de SqlSmoObject.)
Início
  NomeDescrição
Implementações de interfaces explícitasMétodo privadoIAlienObject.DiscoverDiscovers any dependencies. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.GetDomainRootReturns the root of the domain. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.GetParentGets the parent of this object. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.GetPropertyTypeGets the type of the specified property. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.GetPropertyValueGets the value of the specified property. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.GetUrnGets the Unified Resource Name (URN) of the object. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.ResolveGets the instance that contains the information about the object from the Unified Resource Name (URN) of the object. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.SetObjectStateSets the object state to the specified SfcObjectState value. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoIAlienObject.SetPropertyValueSets the property value. (Herdado de SqlSmoObject.)
Implementações de interfaces explícitasMétodo privadoISfcPropertyProvider.GetPropertySetGets the interface reference to the set of properties of this object. (Herdado de SqlSmoObject.)
Início
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
Isso foi útil para você?
(1500 caracteres restantes)

Contribuições da comunidade

ADICIONAR
© 2013 Microsoft. Todos os direitos reservados.