Class FavoriteContentTypeExtensions
Static class with extension methods for FavoriteContentType.
Inheritance
object
FavoriteContentTypeExtensions
Namespace: Tableau.Migration.Content
Assembly: Tableau.Migration.dll
Syntax
public static class FavoriteContentTypeExtensions
Methods
IsMigrationSupported(FavoriteContentType)
Returns whether or not migration of a FavoriteContentType is supported by the Migration SDK.
Declaration
public static bool IsMigrationSupported(this FavoriteContentType contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| FavoriteContentType | contentType | The FavoriteContentType value. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not migration of the FavoriteContentType is supported. |
ToMigrationContentType(FavoriteContentType)
Converts a favorite content type to its corresponding migration content type.
Declaration
public static Type ToMigrationContentType(this FavoriteContentType contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| FavoriteContentType | contentType | The favorite content type. |
Returns
| Type | Description |
|---|---|
| Type | The corresponding migration content type. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown when the favorite content type cannot be converted to a migration content type. |